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_EACCES.right
Normal file
2
shell/msh_test/msh-execution/exitcode_EACCES.right
Normal file
@@ -0,0 +1,2 @@
|
||||
./: cannot execute
|
||||
126
|
Reference in New Issue
Block a user