ExecAndWait
This commit is contained in:
@@ -42,6 +42,7 @@ struct StdoutPollInfo {
|
||||
struct Process {
|
||||
bool is_valid;
|
||||
String error_message;
|
||||
bool exited;
|
||||
int exit_code;
|
||||
char platform[6 * 8];
|
||||
|
||||
@@ -52,5 +53,6 @@ struct Process {
|
||||
Process CreateCommandLineProcess(String command_line, String working_dir);
|
||||
bool WaitForExit(Process *process);
|
||||
bool PollExitCode(Process *process);
|
||||
void CloseProcess(Process *process);
|
||||
void KillProcess(Process *process);
|
||||
StdoutPollInfo PollStdout(Process *process, char *buffer, int64_t buffer_size);
|
||||
Reference in New Issue
Block a user