![]() |
bob.hpp
|
Represents a command that being executed in the background. More...
#include <bob.hpp>
Public Member Functions | |
int | await (string *output=nullptr) |
Blocks until the command completes and returns the exit code. | |
bool | poll (string *output=nullptr) |
bool | kill () |
Kills the command if it is still running. | |
Represents a command that being executed in the background.
bool bob::CmdFuture::poll | ( | string * | output = nullptr | ) |
Polls the command's output and checks if it has completed. Also captures and prints any output.