Weird strace of #! python script

Barry barry at barrys-emacs.org
Mon Mar 14 18:20:47 EDT 2022



> On 14 Mar 2022, at 21:29, Dan Stromberg <drsalists at gmail.com> wrote:
> 
> I expected to see an exec of /usr/bin/python2, but I don't.  I just see an
> exec of /tmp/t.

I understand that the kernel handles the #! Line itself, which is why you do not see it in strace.

Barry





More information about the Python-list mailing list