2020-10-27 Fred Gleason <fredg@paravelsystems.com>

* Refactored the 'Run Script' ['RN'] RML to invoke scripts via
	the system shell.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-10-27 14:04:38 -04:00
parent 8ef2debbd2
commit 6b976459ec
3 changed files with 51 additions and 52 deletions

View File

@@ -105,8 +105,7 @@ class MainObject : public QObject
void SendGpoCart(int ch,int matrix);
RDMacro ForwardConvert(const RDMacro &rml) const;
bool LoadSwitchDriver(int matrix_num);
void RunCommand(const QString &user,const QString &group,
const QString &cmd) const;
void RunCommand(uid_t uid,gid_t gid,const QString &cmd) const;
QSqlDatabase *ripcd_db;
QString ripcd_host;
bool debug;