On Thu, May 12, 2011 at 12:23:36AM +0200, Tobias Burnus wrote: > The attached patch fixes three issues: > > a) If fork() is not supported, CMDSTAT is -2 (as required by the > standard) - and everything is executed synchronously. However, > set_cmdstat will abort if the cmdstat value is not 0. > > b) The cmdstat value should be set to an error if system returns an > error ("-1") -- also for WAIT=.false. > > c) In the synchronous case with WAIT=.false. the EXITSTAT= value was not > set. > > Additionally, I converted some literals to the EXEC_* enum values. > > Build on x86-64-linux. > OK for the trunk? > > Tobias > > PS: The next step would be to add support for asynchronous execution > under Windows, cf. PR.
This is OK with a proper ChangeLog entry. -- Steve