Skip to content

Commit

Permalink
Fixed env var key in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-medeiros committed Dec 29, 2016
1 parent 54401e7 commit 7c56435
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import java.util.Map.Entry;

import melnorme.lang.tooling.utils.ArgumentsParser;
import melnorme.lang.utils.EnvUtils;
import melnorme.lang.utils.ProcessUtils;
import melnorme.utilbox.collections.HashMap2;
import melnorme.utilbox.collections.Indexable;
Expand Down Expand Up @@ -106,7 +107,7 @@ public ProcessBuilder getProcessBuilder() {
environment.clear();
}
for (Entry<String, String> envVar : getEnvironmentVars()) {
environment.put(envVar.getKey(), envVar.getValue());
EnvUtils.putVarInEnvMap(environment, envVar.getKey(), envVar.getValue());
}

return pb;
Expand Down

0 comments on commit 7c56435

Please sign in to comment.