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