Fill Process on Windows
This commit is contained in:
@ -10,17 +10,22 @@ class Process {
|
||||
public:
|
||||
std::string name;
|
||||
std::vector<std::string> args;
|
||||
std::string workingDirectory;
|
||||
std::vector<std::pair<std::string,std::string>> env;
|
||||
bool includeThisEnv;
|
||||
bool redirectStdIn=false;
|
||||
bool redirectStdOut=false;
|
||||
bool redirectStdErr=false;
|
||||
//YOU ARE RESPONSABLE FOR FREEING THIS STREAM
|
||||
Tesses::Framework::Streams::Stream* GetStdinStream(bool closeUnderlying=true);
|
||||
//YOU ARE RESPONSABLE FOR FREEING THIS STREAM
|
||||
Tesses::Framework::Streams::Stream* GetStdoutStream(bool closeUnderlying=true);
|
||||
//YOU ARE RESPONSABLE FOR FREEING THIS STREAM
|
||||
Tesses::Framework::Streams::Stream* GetStderrStream(bool closeUnderlying=true);
|
||||
|
||||
void CloseStdInNow();
|
||||
//YOU ARE RESPONSABLE FOR FREEING THIS STREAM OBJECT
|
||||
|
||||
Tesses::Framework::Streams::Stream* GetStdinStream();
|
||||
|
||||
//YOU ARE RESPONSABLE FOR FREEING THIS STREAM OBJECT
|
||||
Tesses::Framework::Streams::Stream* GetStdoutStream();
|
||||
//YOU ARE RESPONSABLE FOR FREEING THIS STREAM OBJECT
|
||||
Tesses::Framework::Streams::Stream* GetStderrStream();
|
||||
|
||||
Process();
|
||||
Process(std::string name, std::vector<std::string> args,bool includeThisEnv=true);
|
||||
|
||||
Reference in New Issue
Block a user