#!/usr/bin/env python -u

Paul Jackson pj at sgi.com
Fri Apr 16 13:24:39 EDT 1999


Not that this is any help, but other kernels besides Linux don't
pass #! arguments in full generality.  For example, the Irix
system I'm on right now is doing pretty much the same thing.

Part of this is the convention, apparent on both my Linux and
Irix boxes, to pass the name of the script file as argv[2],
which leaves argv[1] stuck with the entire trailing argument
list from the #! line.
-- 

=======================================================================
I won't rest till it's the best ...	   Software Production Engineer
Paul Jackson (pj at sgi.com; pj at usa.net) 3x1373 http://sam.engr.sgi.com/pj




More information about the Python-list mailing list