Преглед на файлове

Changed shell from bash to sh for process spawn.

Clifford Jefferies преди 7 години
родител
ревизия
d5f700dd38
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      std/lua/_std/sys/io/Process.hx

+ 1 - 1
std/lua/_std/sys/io/Process.hx

@@ -44,7 +44,7 @@ class Process {
 	public var  stdin(default,null) : haxe.io.Output;
 
 	static var argQuote = Sys.systemName() == "Windows" ? function(x) return StringTools.quoteWinArg(x,true) : StringTools.quoteUnixArg;
-	static var _shell = Sys.systemName() == "Windows" ? 'cmd.exe' : '/bin/bash';
+	static var _shell = Sys.systemName() == "Windows" ? 'cmd.exe' : '/bin/sh';
 
 	/**
 	  Sets the args for the shell, which will include the cmd to be executed