Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ah I didn't know of the shell directive. Basically an equivalent to #! in shell scripts I guess: https://en.wikipedia.org/wiki/Shebang_%28Unix%29


Not exactly.

> If the command doesn't already take a single file as input, you need to pass it the special `{0}` argument, which GitHub replaces with the temporary file that it generates the template-expanded `run` block into.

It seems to be writing your script to a file, then using an executable to run your file. That ignores any shebang.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: