浏览代码

fix Sys.command on windows once again (see https://github.com/HaxeFoundation/haxe/commit/41cf47f215f9b2c9e9d0ff03c415204c62273a51#commitcomment-8443045)

Dan Korostelev 11 年之前
父节点
当前提交
72b69e6679
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      std/neko/_std/Sys.hx

+ 1 - 0
std/neko/_std/Sys.hx

@@ -113,6 +113,7 @@
 			for( a in args )
 				cmd += " "+escapeArgument(a, win);
 		}
+		if (win) cmd = '"$cmd"';
 		return sys_command(untyped cmd.__s);
 	}