Cryptic error message for invalid commands under Redox
Created by: xTibor
Reproduction: Run a non-existing command under Redox.
Expected behavior: Show the same error message like under Linux:
# something1234
ion: command not found: something1234
Actual behavior:
# something1234
ion: error spawning process: Invalid argument (os error 22)
Related: Might be related: https://github.com/redox-os/redox/issues/905
Build information:
rustc -V
: rustc 1.21.0-nightly (469a6f9bd 2017-08-22)
Ion HEAD
: https://github.com/redox-os/ion/commit/ce6625b2e9ffdc5726803280666fd95c761f21d7
Redox HEAD
: https://github.com/redox-os/redox/commit/2592ddf7232f4eebe7196bca48172e58253ccea8