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:
Denis Vlasenko
2008-05-30 22:28:32 +00:00
parent f9a0784144
commit 447bd66837
5 changed files with 21 additions and 6 deletions

View File

@ -0,0 +1,2 @@
./does_exist_for_sure: not found
127