Hacker News new | ask | show | jobs
by bvaldivielso 865 days ago
> I prefer to take advantage of the fact that without a proper shebang the file will be first executed by the shell

I know that bash does this, and possibly other shells, but it doesn't work in general when you `execv` the file (or when using the subprocess API on python f.i). But cool trick anyway