|
|
|
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
/// Stream buffer for reading to the stdout of the child process; |
|
|
|
|
|
|
|
|
/// Stream buffer for reading from the stdout of the child process; |
|
|
ReadStreambuf readStreambuf; |
|
|
ReadStreambuf readStreambuf; |
|
|
|
|
|
|
|
|
/// Stream buffer for writing to the stdin of the child process; |
|
|
/// Stream buffer for writing to the stdin of the child process; |
|
|
|
|
|
|
|
|
*/ |
|
|
*/ |
|
|
void run(); |
|
|
void run(); |
|
|
|
|
|
|
|
|
|
|
|
/** Check if input is available. |
|
|
|
|
|
|
|
|
|
|
|
\returns true if at least one character is available for |
|
|
|
|
|
reading. |
|
|
|
|
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
//bool hasData(); |
|
|
|
|
|
|
|
|
/** Terminite the child process. |
|
|
/** Terminite the child process. |
|
|
|
|
|
|
|
|
\throws runtime_error if an error occurs. |
|
|
\throws runtime_error if an error occurs. |