On 04/05/10 09:49, Steven Schveighoffer wrote:
On Mon, 03 May 2010 17:25:30 -0400, Bernard Helyer <b.hel...@gmail.com> wrote:I believe his problem is that the return code of the caller indicates success.Could it be perhaps that it can't possibly get at that status? Remember, system runs /bin/sh -c, so all you can get as status is the return code of /bin/sh (which didn't segfault). -Steve
sh -c returns failure if the specified executable segfaults.