瀏覽代碼

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;
 	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 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
 	  Sets the args for the shell, which will include the cmd to be executed