ecere/sys/DualPipe: UNIX fixes to only invoke waitpid once and remember exit code (#247)