Add client option -i to stay in interactive mode after a script or command

From 5a3f474331
with some fix in the logical flow
This commit is contained in:
Philippe Teuwen 2019-08-04 15:34:18 +02:00
commit 1cb039255e
6 changed files with 28 additions and 15 deletions

View file

@ -93,12 +93,13 @@ class ProxWidget : public QWidget {
class WorkerThread : public QThread {
Q_OBJECT;
public:
WorkerThread(char *, char *);
WorkerThread(char *, char *, bool);
~WorkerThread();
void run();
private:
char *script_cmds_file;
char *script_cmd;
bool stayInCommandLoop;
};
class ProxGuiQT : public QObject {