-int Systemcall::startscript(Starttype how, string const & what)
+int Systemcall::startscript(Starttype how, string const & what, bool process_events)
{
string outfile;
QString cmd = toqstr(parsecmd(what, outfile));
SystemcallPrivate d(outfile);
- bool process_events = true;
d.startProcess(cmd);
if (!d.waitWhile(SystemcallPrivate::Starting, process_events, 3000)) {
* The string "what" contains a commandline with arguments separated
* by spaces.
*/
- int startscript(Starttype how, std::string const & what);
+ int startscript(Starttype how, std::string const & what, bool process_events = true);
};
} // namespace support