connected command to execute command in receiver pc

This commit is contained in:
2018-10-10 12:23:55 +02:00
parent 5e7e7d3c33
commit b981fe78ef
6 changed files with 73 additions and 3 deletions

View File

@ -1229,6 +1229,15 @@ public:
*/
int exitReceiver(int detPos = -1);
/**
* Executes a system command on the receiver server
* e.g. mount an nfs disk, reboot and returns answer etc.
* @param cmd command to be executed
* @param detPos -1 for all detectors in list or specific detector position
* @returns OK or FAIL
*/
int execReceiverCommand(std::string cmd, int detPos = -1);
/**
* Returns output file directory
* @param detPos -1 for all detectors in list or specific detector position