Starting,
Running,
Finished,
- Error
+ Error,
+ Killed
};
State state;
static void killProcess(QProcess * p);
+ // when true, kill any running script ASAP
+ static bool kill_script;
+
public Q_SLOTS:
void stdOut();
void processEvents();
void killProcess();
+ /// returns false if we killed the process
+ /// actually returns Systemcall::ReturnValue
+ bool waitAndCheck();
};
} // namespace support