status = Process.run("exit 1", shell: true)
status.exit_status # 256
status.exit_code # 1
It's the platform-specific exit status code, which usually contains either the exit code or a termination signal. The other Status methods extract the values from exit_status.
This is lacking documentation, help welcome!
Looks like this issue can be closed. Docs are added by #8014.
Most helpful comment
Looks like this issue can be closed. Docs are added by #8014.