Commits

Anonymous committed 0253659

env variables representing cmd line params are now exported

Comments (0)

Files changed (1)

src/main/java/com/atlassian/utils/process/ExternalProcess.java

         }
         cmdArray = i18n;
 
+
         ProcessBuilder pb = new ProcessBuilder(cmdArray);
         pb.directory(workingDir);
         if (environment != null)
         {
             pb.environment().putAll(environment);
+            pb.environment().putAll(newEnv);
         }
         return pb.start();
     }