(command)
| 8 | Python = "python" if platform.system() == "Windows" else "python3" |
| 9 | |
| 10 | def executeCommandSilent(command): |
| 11 | out = open(os.devnull, 'w') |
| 12 | err = subprocess.STDOUT |
| 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: |