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.tests
Executable file
2
shell/msh_test/msh-execution/exitcode_EACCES.tests
Executable file
@@ -0,0 +1,2 @@
|
||||
./
|
||||
echo $?
|
||||
Reference in New Issue
Block a user