This commit is contained in:
2022-04-23 12:37:55 +03:00
parent fcd871c0fc
commit 7f93ba55b4
3 changed files with 28 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
* \ingroup System
* \~\brief
* \~english External process
* \~russian Внешний процесс
* \~russian Внешний процесс
*/
/*
PIP - Platform Independent Primitives
@@ -45,11 +45,11 @@ public:
//! \~english Returns last attached execution exit code
//! \~russian
//! \~russian Возвращает код завершения последнего выполнения
int exitCode() const {return exit_code;}
//! \~english Returns current attached execution process ID
//! \~russian
//! \~russian Возвращает ID процесса текущего выполнения
int pID() const;
void setGrabInput(bool yes) {g_in = yes;}
@@ -162,22 +162,27 @@ public:
//! \{
//! \fn void exec(const PIString & program)
//! \brief
//! \~english Start attached execution "program" without arguments
//! \~russian
//! \fn void exec(const PIString & program, const PIStringList & args)
//! \brief
//! \~english Start attached execution "program" with arguments "args"
//! \~russian
//! \fn void terminate()
//! \brief
//! \~english Immediately terminate attached execution
//! \~russian
//! \fn bool waitForFinish()
//! \brief
//! \~english Wait for attached execution finish maximum for 60 seconds
//! \~russian
//! \fn bool waitForFinish(int timeout_msecs)
//! \brief
//! \~english Wait for attached execution finish maximum for "timeout_msecs" milliseconds
//! \~russian
@@ -186,10 +191,12 @@ public:
//! \{
//! \fn void execStarted(PIString program)
//! \brief
//! \~english Raise on attached execution start
//! \~russian
//! \fn void execFinished(PIString program)
//! \brief
//! \~english Raise on attached execution finish
//! \~russian