Rob Wolfe napisał(a): > > Jarek Zgoda napisał(a): >> Hi, all, >> >> anybody has an idea on how to set ulimit (-v in my case, linux) for >> process started using subprocess.Popen? > > What about: > > from subprocess import call > call('ulimit -v 1000 && ulimit -v && ls', shell=True)
subprocess.Popen('ulimit -v 1024; ls', shell=True) works perfect. Unfortunately, the nature of ulimit impacts deadly my application when the limit is reached, so this knowledge is of no help in my case. ;) -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list