cgi.FieldStorage() problem

Erno Kuusela erno-news at erno.iki.fi
Tue Feb 6 06:28:24 EST 2001


In article <3A7FC939.DAC10B75 at cs.utwente.nl>, Richard van de Stadt
<stadt at cs.utwente.nl> writes:

| calling ulimit from within the script, which should, I think, do what you
| suggest:

| ulimitCommand = "/usr/bin/ulimit -n 512"
| os.system (ulimitCommand)

that can't work. it's like trying to run os.system('/usr/bin/cd /tmp')
to change directory. do it in the shell you start httpd from, or use
the resource module, or something.

  -- erno



More information about the Python-list mailing list