Martin Husemann wrote:
> On Mon, Nov 07, 2022 at 02:55:20PM -0500, Jan Schaumann wrote:
> > While that is the case, that's internal to system(3);
> > the end result for the user is that system(3) will
> > return 127.
>
> No, it is not internal to system. The system(3) man page says:
>
> Oth
On Mon, Nov 07, 2022 at 02:55:20PM -0500, Jan Schaumann wrote:
> While that is the case, that's internal to system(3);
> the end result for the user is that system(3) will
> return 127.
No, it is not internal to system. The system(3) man page says:
Otherwise, system() returns the termination
Martin Husemann wrote:
> On Mon, Nov 07, 2022 at 02:30:02PM -0500, Jan Schaumann wrote:
> > Hi,
> >
> > system(3) has some awkward phrasing for the case where
> > the execution of the shell fails:
> >
> > "If execution of the shell fails, system() returns the
> > termination status for a program
On Mon, Nov 07, 2022 at 02:30:02PM -0500, Jan Schaumann wrote:
> Hi,
>
> system(3) has some awkward phrasing for the case where
> the execution of the shell fails:
>
> "If execution of the shell fails, system() returns the
> termination status for a program that terminates with
> a call of exit(1