commit 340e7867667a533abb173582f40016e544369e71
parent fb00b7e3f7e7ed6e4b1b9357b5e9b98efced5bd5
Author: Drew DeVault <sir@cmpwn.com>
Date: Thu, 28 Apr 2022 13:26:16 +0000
os::exec: add rt::SIGCHLD to clone call
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/os/exec/exec+linux.ha b/os/exec/exec+linux.ha
@@ -141,7 +141,7 @@ fn platform_start(cmd: *command) (process | errors::error) = {
case void => void;
};
- match (rt::clone(null, 0, null, null, 0)) {
+ match (rt::clone(null, rt::SIGCHLD, null, null, 0)) {
case let err: rt::errno =>
return errors::errno(err);
case let pid: int =>