mirror of
https://github.com/FAUSheppy/simple-webhook-handler
synced 2025-12-07 20:51:35 +01:00
replace run with Popen
This commit is contained in:
@@ -52,8 +52,7 @@ def rootPage():
|
|||||||
|
|
||||||
def executeScript(scriptName):
|
def executeScript(scriptName):
|
||||||
path = os.path.expanduser(scriptName)
|
path = os.path.expanduser(scriptName)
|
||||||
proc = subprocess.run(path)
|
subprocess.Popen(path)
|
||||||
proc.check_returncode()
|
|
||||||
|
|
||||||
def readExecutionConfig(configFile):
|
def readExecutionConfig(configFile):
|
||||||
global config
|
global config
|
||||||
|
|||||||
Reference in New Issue
Block a user