mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] Fix a bunch of issues and runtimes (#11145)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
199e857d15
commit
46c940fbdf
@@ -16,7 +16,7 @@
|
||||
arg = "'[arg]'"
|
||||
return arg
|
||||
|
||||
/proc/ext_python(var/script, var/args, var/scriptsprefix = 1)
|
||||
/proc/ext_python(var/script, var/arguments, var/scriptsprefix = 1)
|
||||
return // VOREStation Edit - Can't exploit shell if we never call shell!
|
||||
/* Unreachable with above vorestation edit
|
||||
if(scriptsprefix)
|
||||
@@ -25,6 +25,6 @@
|
||||
if(world.system_type == MS_WINDOWS)
|
||||
script = replacetext(script, "/", "\\")
|
||||
|
||||
var/command = CONFIG_GET(string/python_path) + " " + script + " " + args // CHOMPEdit
|
||||
var/command = CONFIG_GET(string/python_path) + " " + script + " " + arguments
|
||||
return shell(command)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user