Browse Source

Changed shell from bash to sh for process spawn.

Clifford Jefferies 7 năm trước cách đây
mục cha
commit
d5f700dd38
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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