217 for arg in applArgs: |
217 for arg in applArgs: |
218 args.append(arg) |
218 args.append(arg) |
219 |
219 |
220 if not os.path.isfile(applPath) or \ |
220 if not os.path.isfile(applPath) or \ |
221 not proc.startDetached(sys.executable, args): |
221 not proc.startDetached(sys.executable, args): |
222 E5MessageBox.critical(self, |
222 E5MessageBox.critical( |
|
223 self, |
223 self.trUtf8('Process Generation Error'), |
224 self.trUtf8('Process Generation Error'), |
224 self.trUtf8( |
225 self.trUtf8( |
225 '<p>Could not start the process.<br>' |
226 '<p>Could not start the process.<br>' |
226 'Ensure that it is available as <b>{0}</b>.</p>' |
227 'Ensure that it is available as <b>{0}</b>.</p>' |
227 ).format(applPath), |
228 ).format(applPath), |