Use _PATH_BSHELL for "/bin/sh" and fix argv[0].
The previous code had the following issues: 1) hardcoded the path of /bin/sh (should use paths.h) 2) threw away the variable with the fallback shell 3) prepended - to the path rather than the shell name 4) added a - before explicit chosen non-shell commands Closes #199.
parent
6c042914
Please register or sign in to comment