diff --git a/std/process/cmd_unix.jule b/std/process/cmd_unix.jule index f807c1354..0784f461b 100644 --- a/std/process/cmd_unix.jule +++ b/std/process/cmd_unix.jule @@ -43,6 +43,7 @@ fn execve(file: str, argv: []str, env: []str): int { impl Cmd { fn __spawn(self)!: int { + outln("test") if self.path == "" { error(ProcessError.NotExist) } @@ -66,7 +67,7 @@ impl Cmd { error(get_last_process_error()) } if cpp.WIFSIGNALED(status) { - error(ProcessError.Denied) + error(ProcessError.Fork) } ret cpp.WEXITSTATUS(status) }