From: Kent Sibilev Date: 2004-07-30T00:03:28+09:00 Subject: Re: ulimit alike in ruby? Check out http://raa.ruby-lang.org/project/rlimit/ I haven't tried it though. Cheers, Kent. On Jul 29, 2004, at 8:06 AM, Patrick Gundlach wrote: > Dear ruby-hackers, > > is there any way to set resource limits in ruby? I am starting a > program (popen) that should not create files > 1 MB, so I think that > the linux/unix syscall setrlimit would be the best way for that. > Sure I can write an sh-wrapper or c-wrapper around the ruby process, > but I'd like to avoid that. But I haven't found any kernel#ulimit or > alike methods in ruby. > > Patrick >