4 ms·
Sorry if it wasn't clear from the previous comment, but the version with the usual extra characters will work, too. Scripts with the standard shebang will still
by jstrieb 5y ago
Sorry if it wasn't clear from the previous comment, but the version with the usual extra characters will work, too. Scripts with the standard shebang will still be understood by QuickServ. So having a QuickServ script start with
#!/usr/bin/env python3
should be completely valid as far as I have tested. It's just that QuickServ doesn't require the absolute path.
Another, more subtle difference is that QuickServ actually shlexes the shebang into arguments. On Linux, on the other hand, the remainder of the shebang string after the path to the executable is passed as a single argument.
http://mail-index.netbsd.org/netbsd-users/2008/11/09/msg002388.html http://mail-index.netbsd.org/netbsd-users/2008/11/09/msg0023...
https://github.com/jstrieb/quickserv/commit/3027a8e91abf4a574c5681204f03d239e9a42c21 https://github.com/jstrieb/quickserv/commit/3027a8e91abf4a57...