Skip to content

Commit

Permalink
TISTUD-6606 Node.ACS: Unable to Create New Node.ACS Project
Browse files Browse the repository at this point in the history
  • Loading branch information
Praveen Innamuri committed Jun 12, 2014
1 parent e5d04ff commit 83d0eee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,14 +264,14 @@ public IStatus runInBackground(IPath workingDirectory, Map<String, String> envir
{
outFile = File.createTempFile("studio", ".out"); //$NON-NLS-1$ //$NON-NLS-2$
errFile = File.createTempFile("studio", ".err"); //$NON-NLS-1$ //$NON-NLS-2$
CollectionsUtil.addToList(arguments, ">", outFile.getAbsolutePath(), "2>", errFile.getAbsolutePath()); //$NON-NLS-1$ //$NON-NLS-2$
Process p;
if (isJava7)
{
p = doRun(arguments, workingDirectory, environment, redirect, outFile, errFile);
}
else
{
CollectionsUtil.addToList(arguments, ">", outFile.getAbsolutePath(), "2>", errFile.getAbsolutePath()); //$NON-NLS-1$ //$NON-NLS-2$
p = run(workingDirectory, environment, arguments.toArray(new String[arguments.size()]));
}
return processData(p, outFile, errFile);
Expand Down

0 comments on commit 83d0eee

Please sign in to comment.