help w/ putenv
Chad Netzer
cnetzer at mail.arc.nasa.gov
Tue Dec 10 00:10:52 EST 2002
On Monday 09 December 2002 20:58, czrpb wrote:
> I run the following script:
[clip]
> os.putenv("PWD",value)
> in the following way:
> %strace ./script.py "hi mom" |& fgrep -i 'putenv'
> And see NO system calls to putenv.
"putenv" is not a system call on your Unix. I'm not sure it is on
any. It is in section "3" of the man pages.
You probably want something like 'ltrace' or 'ptrace'.
--
Bay Area Python Interest Group - http://www.baypiggies.net/
Chad Netzer
cnetzer at mail.arc.nasa.gov
More information about the Python-list
mailing list