Skip to content
Snippets Groups Projects
Commit 219c5c1a authored by aburn's avatar aburn
Browse files

Fixed deferred scripts on mac and linux

parent 4be9be01
No related merge requests found
......@@ -108,7 +108,7 @@ public class OsUtils
else if (SystemUtils.IS_OS_MAC)
{
scriptFile = new File(System.getProperty("user.home")+"/"+name);
FileWriter out = new FileWriter(script, false);
FileWriter out = new FileWriter(scriptFile, false);
out.write("#!/bin/bash\n");
out.write("while kill -0 "+DocExploreTool.processPid+" 2> /dev/null; do sleep 1; done;\n");
out.write(script);
......@@ -118,7 +118,7 @@ public class OsUtils
else
{
scriptFile = new File(System.getProperty("user.home")+"/"+name);
FileWriter out = new FileWriter(script, false);
FileWriter out = new FileWriter(scriptFile, false);
out.write("#!/bin/bash\n");
out.write("while kill -0 "+DocExploreTool.processPid+" 2> /dev/null; do sleep 1; done;\n");
out.write(script);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment