- Timestamp:
- Jun 9, 2016, 4:19:49 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin-center/trunk/fuentes/admin-center.install/usr/lib/python2.7/actasks.py
r1869 r1893 89 89 # Create temp logfile 90 90 temp = tempfile.NamedTemporaryFile(prefix='pipe_', dir=self.logfolder, delete=False) 91 proc = subprocess.Popen([self.command ], shell=True, stdout=temp, preexec_fn=os.setsid)91 proc = subprocess.Popen([self.command+"; sleep 5"], shell=True, stdout=temp, preexec_fn=os.setsid) 92 92 #proc=pexpect.spawn(self.command, logfile=temp) # 93 93 … … 131 131 132 132 133 134 133 print "[TASKMANAGER] END WAIT AT "+str(datetime.datetime.now()) 135 134 print "[TASKMANAGER] FINISHING!!!, return code: "+str(ret) 136 135 137 136 ## Millora: Abans d'enviar que ha acabat que espere a tindre els buffers buits... 137 138 138 139 139 # Sending last line to log for all listeners
Note: See TracChangeset
for help on using the changeset viewer.