P
Patrick Gundlach
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
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