Exit codes #2

Open
opened 1 year ago by kj7rrv · 0 comments
kj7rrv commented 1 year ago
Owner

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")`).
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.