Explorar o código

Changed shell from bash to sh for process spawn.

Clifford Jefferies %!s(int64=7) %!d(string=hai) anos
pai
achega
d5f700dd38
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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