Now with working directory support


A new optional argument at the end. Omit or leave as an empty string to use the game’s working directory.

Used like so:

var winDir = environment_get_variable("WINDIR");
var cmdPath = winDir + "/System32/cmd.exe";
var root = filename_drive(winDir);
execute_shell_simple(cmdPath, "/K", "open", 5, winDir);

Files

execute_shell_simple_ext-for-GMS1.gmez 5.1 kB
Version 1.2 21 days ago
execute_shell_simple_ext-for-GMS2.yymp 7.2 kB
Version 1.2 21 days ago
execute_shell_simple_ext-for-GMS2.3+.yymps 8.4 kB
Version 1.2 21 days ago

Get execute_shell_simple for GameMaker

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.