void set_stderr(StreamAction);
/** Returns captured output, if any. This may be called while the task is
- still running, but it will always return all output. */
+ still running, but it will always return all output produced so far. */
const std::string &get_output() const { return output; }
/** Executes a command and captures its output. If the command exits with