Hacker News new | past | comments | ask | show | jobs | submit login

Wouldn't this part:

    #!/bin/sh
    "exec" "python3" "-u" "$0" "$@"
Be the same as this?

    #!/usr/bin/env python3 -u



One difference is that parameters in the shebang is non standard and not supported on all OSes. Linux supports it, though.


And I think only one. Tripped me up once.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: