Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

FreeBSD /bin/sh have no option '-l' #106

Open
rosso- opened this issue Mar 12, 2022 · 2 comments
Open

FreeBSD /bin/sh have no option '-l' #106

rosso- opened this issue Mar 12, 2022 · 2 comments

Comments

@rosso-
Copy link

rosso- commented Mar 12, 2022

Non-zero exit code from shell /bin/sh invoked with args ("-l" "-i" "-c" "/usr/bin/printf '__RESULT\\000%s\\000%s\\000__RESULT' \"${PATH-2bfaad800615049564580\
26191a73346}\" \"${MANPATH-2bfaad80061504956458026191a73346}\"").  Output was:
"Illegal option -l
"

I got this output from exec-path-from-shell on FreeBSD13.
Ther is no such an option on FreeBSD's /bin/sh.
Can we do something with it?

@purcell
Copy link
Owner

purcell commented Mar 13, 2022

Interesting. Which shell is /bin/sh on FreeBSD? You can certainly override exec-path-from-shell-arguments to remove -l from the defaults in this case.

@dertuxmalwieder
Copy link

Which shell is /bin/sh on FreeBSD?

A variant of the Almquist shell, mostly.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants