完善进程管理

This commit is contained in:
xiongziliang
2020-06-08 16:26:55 +08:00
parent d0fc37db65
commit a3089f9a7e
2 changed files with 32 additions and 43 deletions

View File

@@ -31,6 +31,7 @@ public:
int exit_code();
private:
pid_t _pid = -1;
void *_handle = nullptr;
int _exit_code = 0;
};