Skip to content

Commit

Permalink
fixes for windows
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@1549 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Feb 16, 2009
1 parent 7ee71f6 commit d2ee28f
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -216,7 +216,7 @@ private static void launch(String jbossHome, String scriptFileName, String param
String command[] = {
"sh",
"-c",
"cd " + jbossHome + "/bin; JAVA_OPTS=" + JAVA_OPTS + " ./" + scriptFileName + ".sh " + params
"cd /D " + jbossHome + "/bin;set JAVA_OPTS=" + JAVA_OPTS + " ./" + scriptFileName + ".sh " + params
};
p = runtime.exec(command);
}
Expand All @@ -232,7 +232,7 @@ public void run()
{
try
{
DataOutputStream out = new DataOutputStream(new FileOutputStream("/tmp/jboss.log"));
DataOutputStream out = new DataOutputStream(new FileOutputStream(System.getProperty("java.io.tmpdir") + "jboss.log"));
int c;
while((c = is.read()) != -1)
{
Expand Down

0 comments on commit d2ee28f

Please sign in to comment.