540 return |
540 return |
541 |
541 |
542 if workingDir: |
542 if workingDir: |
543 proc.setWorkingDirectory(workingDir) |
543 proc.setWorkingDirectory(workingDir) |
544 proc.start(program, arguments) |
544 proc.start(program, arguments) |
545 procStarted = proc.waitForStarted() |
545 procStarted = proc.waitForStarted(5000) |
546 if not procStarted: |
546 if not procStarted: |
547 E5MessageBox.critical(None, |
547 E5MessageBox.critical(None, |
548 self.trUtf8('Process Generation Error'), |
548 self.trUtf8('Process Generation Error'), |
549 self.trUtf8( |
549 self.trUtf8( |
550 'The process {0} could not be started. ' |
550 'The process {0} could not be started. ' |