2
0
Эх сурвалжийг харах

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

Dan Korostelev 11 жил өмнө
parent
commit
72b69e6679

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

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