(Script, Params)
| 13 | return subprocess.call(command, shell = True, stdout=out, stderr=err); |
| 14 | |
| 15 | def runPythonScript(Script, Params): |
| 16 | if os.system( Python + " " + Script + " " + Params ) != 0: |
| 17 | print( "Unable to run " + Script ) |
| 18 | exit(255) |
| 19 | |
| 20 | if executeCommandSilent(Python + " --version") != 0: |
| 21 | print( "Make sure Python can be started from the command line (add path to `python.exe` to PATH on Windows)" ) |