X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=inline;f=sfadata.py;h=e5cf2245262b1f54c3effc93fbde54410bf74707;hb=70514dcdd9d918c574b1589aef5c9ab9b0619f2a;hp=040a0baead23da30731a0261b4fdeff01c8adf73;hpb=9f5557b0f0541b6e1a9d36a48ee660b86076d4cd;p=sface.git diff --git a/sfadata.py b/sfadata.py index 040a0ba..e5cf224 100644 --- a/sfadata.py +++ b/sfadata.py @@ -22,7 +22,7 @@ def process(command): arguments << QString(c) process = QProcess() process.start(SFI_CMD, arguments) - process.waitForFinished() + process.waitForFinished( 200000 ) print process.readAll() @@ -103,6 +103,7 @@ class SfaData: self._trace=time.time() if self.SFAUI_VERBOSE: print time.strftime('%M:%S'),'Invoking',' '.join(command) + def trace_end (self): if self.SFAUI_VERBOSE: print time.strftime('%M:%S'),"[%.3f s]"%(time.time()-self._trace),'Done'