Skip to content
This repository has been archived by the owner on Feb 9, 2018. It is now read-only.

Commit

Permalink
OutputParams PATH fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skeptical committed Aug 6, 2012
1 parent c6b5022 commit ceaf58b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/net/pms/io/ProcessWrapperImpl.java
Expand Up @@ -132,8 +132,9 @@ public void run() {
}
if (params.env != null && !params.env.isEmpty()) {
Map<String,String> environment = pb.environment();
params.env.put("PATH", params.env.get("PATH") + File.pathSeparator + environment.get("PATH"));
String PATH = params.env.get("PATH") + File.pathSeparator + environment.get("PATH");
environment.putAll(params.env);
environment.put("PATH", PATH);
}
process = pb.start();
PMS.get().currentProcesses.add(process);
Expand Down

0 comments on commit ceaf58b

Please sign in to comment.