mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-20 07:12:55 +00:00
* Handlers converted, now to fix 3532 compile errors * 3532 compile fixes later, got runtimes on startup * Well the server loads now atleast * Take 2 * Oops
10 lines
279 B
Plaintext
10 lines
279 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.python_path + " " + script + " " + args
|
|
shell("[command]")
|
|
return
|