Wire Sysio Wire Sysion 1.0.0
|
start and manage an local process More...
#include <process.hpp>
Classes | |
class | impl |
Public Member Functions | |
process () | |
~process () | |
virtual iprocess & | exec (const fc::path &exe, std::vector< std::string > args, const fc::path &work_dir=fc::path(), int opts=open_all) |
virtual int | result (const microseconds &timeout=microseconds::maximum()) |
virtual void | kill () |
virtual fc::buffered_ostream_ptr | in_stream () |
returns a stream that writes to the process' stdin | |
virtual fc::buffered_istream_ptr | out_stream () |
returns a stream that reads from the process' stdout | |
virtual fc::buffered_istream_ptr | err_stream () |
returns a stream that reads from the process' stderr | |
Public Member Functions inherited from fc::iprocess | |
virtual | ~iprocess () |
Additional Inherited Members | |
Public Types inherited from fc::iprocess | |
enum | exec_opts { open_none = 0 , open_stdin = 0x01 , open_stdout = 0x02 , open_stderr = 0x04 , open_all = open_stdin|open_stdout|open_stderr , suppress_console = 0x08 } |
Definition at line 12 of file process.hpp.
fc::process::process | ( | ) |
Definition at line 71 of file process.cpp.
fc::process::~process | ( | ) |
Definition at line 73 of file process.cpp.
|
virtual |
Implements fc::iprocess.
Definition at line 181 of file process.cpp.
|
virtual |
Implements fc::iprocess.
Definition at line 75 of file process.cpp.
|
virtual |
|
virtual |
Forcefully kills the process.
Implements fc::iprocess.
Definition at line 161 of file process.cpp.
|
virtual |
Implements fc::iprocess.
Definition at line 175 of file process.cpp.
|
virtual |
Implements fc::iprocess.
Definition at line 185 of file process.cpp.