Updates to StartPiped (added std::string version and a 2-process variant), also updated conversion to allow for status checks (not fully functional yet)
This commit is contained in:
parent
4fe4fca081
commit
dce6d4b030
3 changed files with 97 additions and 2 deletions
|
@ -27,6 +27,8 @@ namespace Util {
|
|||
static pid_t Start(std::string name, std::string cmd, std::string cmd2);
|
||||
static pid_t Start(std::string name, std::string cmd, std::string cmd2, std::string cmd3);
|
||||
static pid_t StartPiped(std::string name, char * argv[], int * fdin, int * fdout, int * fderr);
|
||||
static pid_t StartPiped(std::string name, std::string cmd, int * fdin, int * fdout, int * fderr);
|
||||
static pid_t StartPiped2(std::string name, std::string cmd1, std::string cmd2, int * fdin, int * fdout, int * fderr1, int * fderr2);
|
||||
static void Stop(std::string name);
|
||||
static void Stop(pid_t name);
|
||||
static void StopAll();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue