no message
This commit is contained in:
@@ -17,13 +17,13 @@ public abstract class ProcessPass<T> extends Pass<T> {
|
||||
public LinkedHashMap<String, String> envs = new LinkedHashMap<>();
|
||||
public Vector<String> output = new Vector<>();
|
||||
protected String process_path = "";
|
||||
public void CreateProcess(String exec_path_in, File workspace, String ... command) throws Exception {
|
||||
public void CreateProcess(String exec_path_in, File workspace, String... command) throws Exception {
|
||||
output.clear();
|
||||
exit_code = CommonConstants.Nan;
|
||||
process_path = exec_path_in;
|
||||
ProcessBuilder procBuilder = new ProcessBuilder(process_path);
|
||||
//-
|
||||
if (workspace!=null)
|
||||
if (workspace != null)
|
||||
procBuilder.directory(workspace);
|
||||
//-
|
||||
procBuilder.redirectErrorStream(true);
|
||||
|
||||
Reference in New Issue
Block a user