Processes should have exit codes that can be waited for by other processes. Tracking parent/child processes is not needed; it won't be a problem for any process to wait for any other process by PID (like is currently possible), but get the exit code.
The shell should eventually be as POSIX-like as possible, so POSIX-style numeric exit codes are needed. However, for extra flexibility, being able to also use strings would be helpful (e.g. (0, "success") or (1, "configuration file syntax error")).
Processes should have exit codes that can be waited for by other processes. Tracking parent/child processes is not needed; it won't be a problem for any process to wait for any other process by PID (like is currently possible), but get the exit code.
The shell should eventually be as POSIX-like as possible, so POSIX-style numeric exit codes are needed. However, for extra flexibility, being able to also use strings would be helpful (e.g. `(0, "success")` or `(1, "configuration file syntax error")`).
Processes should have exit codes that can be waited for by other processes. Tracking parent/child processes is not needed; it won't be a problem for any process to wait for any other process by PID (like is currently possible), but get the exit code.
The shell should eventually be as POSIX-like as possible, so POSIX-style numeric exit codes are needed. However, for extra flexibility, being able to also use strings would be helpful (e.g.
(0, "success")
or(1, "configuration file syntax error")
).