msh: fix the case where the file has exec bit but can't be run directly
(run "$SHELL $file" instead) msh: fix exit codes when command is not found or can't be execed (with testcases)
This commit is contained in:
2
shell/msh_test/msh-execution/exitcode_ENOENT.right
Normal file
2
shell/msh_test/msh-execution/exitcode_ENOENT.right
Normal file
@ -0,0 +1,2 @@
|
||||
./does_exist_for_sure: not found
|
||||
127
|
Reference in New Issue
Block a user