Q_OBJECT
public:
- SystemcallPrivate(std::string const & outfile);
+ SystemcallPrivate(std::string const & infile, std::string const & outfile,
+ std::string const & errfile);
~SystemcallPrivate();
enum State {
State state;
bool waitWhile(State, bool processEvents, int timeout = -1);
- void startProcess(QString const & cmd, std::string const & path);
+ void startProcess(QString const & cmd, std::string const & path, bool detach);
int exitCode();
/// Index to the standard error buffer.
size_t err_index_;
///
+ std::string in_file_;
+ ///
std::string out_file_;
///
- std::string texinputs_;
+ std::string err_file_;
/// Size of buffers.
static size_t const buffer_size_ = 200;