don't remove the child on wait/kill
- important for wait with timout(0) as we may want to try again until the process has realy exited. - make process_release release the process instead
This commit is contained in:
@@ -543,6 +543,8 @@ enum SystemClauseType {
|
||||
ProcessWait,
|
||||
#[strum_discriminants(strum(props(Arity = "1", Name = "$process_kill")))]
|
||||
ProcessKill,
|
||||
#[strum_discriminants(strum(props(Arity = "1", Name = "$process_release")))]
|
||||
ProcessRelease,
|
||||
#[strum_discriminants(strum(props(Arity = "1", Name = "$pid")))]
|
||||
Pid,
|
||||
#[strum_discriminants(strum(props(Arity = "4", Name = "$chars_base64")))]
|
||||
@@ -1834,6 +1836,7 @@ fn generate_instruction_preface() -> TokenStream {
|
||||
&Instruction::CallProcessCreate |
|
||||
&Instruction::CallProcessWait |
|
||||
&Instruction::CallProcessKill |
|
||||
&Instruction::CallProcessRelease |
|
||||
&Instruction::CallPid |
|
||||
&Instruction::CallCharsBase64 |
|
||||
&Instruction::CallDevourWhitespace |
|
||||
@@ -2075,6 +2078,7 @@ fn generate_instruction_preface() -> TokenStream {
|
||||
&Instruction::ExecuteProcessCreate |
|
||||
&Instruction::ExecuteProcessWait |
|
||||
&Instruction::ExecuteProcessKill |
|
||||
&Instruction::ExecuteProcessRelease |
|
||||
&Instruction::ExecutePid |
|
||||
&Instruction::ExecuteCharsBase64 |
|
||||
&Instruction::ExecuteDevourWhitespace |
|
||||
|
||||
Reference in New Issue
Block a user