diff options
author | crupest <crupest@outlook.com> | 2024-02-12 15:47:31 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2024-03-20 22:28:21 +0800 |
commit | a21be4edaa483b86872ad732fc4b93970a607952 (patch) | |
tree | e80010d0ef48cb2804c8509a753dc9455dee2a08 /include/cru/common/platform | |
parent | f9c404510584faab71b9e9d911d9b396b0f420b0 (diff) | |
download | cru-a21be4edaa483b86872ad732fc4b93970a607952.tar.gz cru-a21be4edaa483b86872ad732fc4b93970a607952.tar.bz2 cru-a21be4edaa483b86872ad732fc4b93970a607952.zip |
WORKING: add Buffer and AutoReadStream.
Diffstat (limited to 'include/cru/common/platform')
-rw-r--r-- | include/cru/common/platform/unix/PosixSpawnSubProcess.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cru/common/platform/unix/PosixSpawnSubProcess.h b/include/cru/common/platform/unix/PosixSpawnSubProcess.h index a55c2c1c..0a0f0ad4 100644 --- a/include/cru/common/platform/unix/PosixSpawnSubProcess.h +++ b/include/cru/common/platform/unix/PosixSpawnSubProcess.h @@ -17,6 +17,11 @@ class PosixSpawnSubProcess : public PlatformSubProcessBase { explicit PosixSpawnSubProcess(const PlatformSubProcessStartInfo& start_info); ~PosixSpawnSubProcess(); + protected: + void PlatformCreateProcess() override; + PlatformSubProcessExitResult PlatformWaitForProcess() override; + void PlatformKillProcess() override; + private: pid_t pid_; int exit_code_; |