removed unused stuff
This commit is contained in:
parent
71ebdf8b8b
commit
30dd193169
@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import subprocess
|
|
||||||
|
|
||||||
def RemoveArgs(Execline):
|
def RemoveArgs(Execline):
|
||||||
NewExecline = []
|
NewExecline = []
|
||||||
@ -40,7 +39,6 @@ def Execute( cmd , commandCwd=None):
|
|||||||
os.chdir( cwd )
|
os.chdir( cwd )
|
||||||
string = ' '.join(cmd)
|
string = ' '.join(cmd)
|
||||||
string = string + " &"
|
string = string + " &"
|
||||||
#subprocess.Popen( cmd ) // use os.system instead of popen so children don't end up in zombie waiting for us to wait() for them
|
|
||||||
os.system(string)
|
os.system(string)
|
||||||
return True
|
return True
|
||||||
except Exception, detail:
|
except Exception, detail:
|
||||||
|
Loading…
Reference in New Issue
Block a user