fixed newcron bug thanks niphlod
This commit is contained in:
1 parent
5619963860
commit
d5c8e9a79f
2 files changed
+6
-2
No files matched your search
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-06-11 14:29:03) dev
|
Version 2.00.0 (2012-06-12 08:22:25) dev
|
||||||
+5
-1
@@ -224,7 +224,11 @@ class cronlauncher(threading.Thread):
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
import subprocess
|
import subprocess
|
||||||
proc = subprocess.Popen(self.cmd.split(),
|
if isinstance(self.cmd, (list,tuple)):
|
||||||
|
cmd = self.cmd
|
||||||
|
else:
|
||||||
|
cmd = self.cmd.split()
|
||||||
|
proc = subprocess.Popen(cmd,
|
||||||
stdin=subprocess.PIPE,
|
stdin=subprocess.PIPE,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
|
|||||||
Reference in new issue
Block a user