mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-12 10:22:27 +00:00
## About The Pull Request OpenDream is adding `usr` and `args` to the `SoftReservedKeyword` pragma: https://github.com/OpenDreamProject/OpenDream/pull/2307 This PR renames `var/usr` to `var/user` and `var/args` to `var/arguments`. ## Why It's Good For The Game This pragma is currently set as an error on Aurora, because using internal var names for declared var names is cringe.
10 lines
292 B
Plaintext
10 lines
292 B
Plaintext
/proc/ext_python(var/script, var/arguments, var/scriptsprefix = 1)
|
|
if(scriptsprefix) script = "scripts/" + script
|
|
|
|
if(world.system_type == MS_WINDOWS)
|
|
script = replacetext(script, "/", "\\")
|
|
|
|
var/command = GLOB.config.python_path + " " + script + " " + arguments
|
|
|
|
return shell(command)
|