mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-12 18:32:33 +00:00
* SDQL2 update * fix that verb * cl * fix that * toworld * this is pointless * update info * siiiiick.. * vv edit update * fix that * fix editing vars * fix VV * Port the /TG/ globals controller. * part 1 * part 2 * oops * part 3 * Hollow Purple * sadas * bsbsdb * muda na agaki ta * ids 1-15 * 16-31 * 41-75 * bring me back to how things used to be before i lost it all * the strength of mayhem * final touches * cl * protect some vars * update sdql2 to use glob * stuff? * forgot that is not defined there * whoops * observ * but it never gets better * a --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
10 lines
282 B
Plaintext
10 lines
282 B
Plaintext
/proc/ext_python(var/script, var/args, var/scriptsprefix = 1)
|
|
if(scriptsprefix) script = "scripts/" + script
|
|
|
|
if(world.system_type == MS_WINDOWS)
|
|
script = replacetext(script, "/", "\\")
|
|
|
|
var/command = GLOB.config.python_path + " " + script + " " + args
|
|
|
|
return shell(command)
|