in reply to [Resolved] Call to ulimit in perl's system() causes unexplainable behavior
Could this be an XY Problem? I.e. what is the underlying problem are you trying to solve? Why are you using ulimit instead of some other mechanism to limit the size of the file?
Are you sure that /bin/sh is the same as bash on both systems? For example, try system("/bin/bash","-c", "..."); to make it a little more explicit.
Have you checked if ulimit succeeds by looking at the exit code and running just ulimit -f?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Call to ulimit in perl's system() causes unexplainable behavior
by chengiz5 (Novice) on Mar 04, 2014 at 15:41 UTC |