external: prevent a child process from killing a process on cleanup
This commit is contained in:
parent
e10a5fd0a5
commit
bcdbdbac6a
2 changed files with 14 additions and 1 deletions
|
|
@ -114,6 +114,12 @@ public:
|
|||
*/
|
||||
wait::Result wait_for(const wait::Flags& flags);
|
||||
|
||||
/**
|
||||
* @brief Mark the child process to not to be killed when the ChildProcess
|
||||
* instance goes away.
|
||||
*/
|
||||
void dont_kill_on_cleanup();
|
||||
|
||||
#ifndef ANDROID
|
||||
/**
|
||||
* @brief Access this process's stderr.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue