#include <msp/core/process.h>
#include <msp/fs/path.h>
#include <msp/io/pipe.h>
+#include "libbuilder_api.h"
#include "task.h"
/**
for the task, and anything else is treated as an error. Output can optionally
be captured.
*/
-class ExternalTask: public Task
+class LIBBUILDER_API ExternalTask: public Task
{
public:
enum StreamAction
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