Euphoria Ticket #584: Add missing pipeio.e routines

Currently you cannot simply wait for a pipe process to terminate. You also cannot determine the processes exit code.


Type: Feature Request Severity: Normal Category: Library Routine
Assigned To: unknown Status: New Reported Release: 4.0.0
Fixed in SVN #: View VCS: none Milestone: 4.0.2

1. Comment by jimcbrown Jan 03, 2011

To determine the process exit code of a terminated process, use GetExitCodeProcess() or waitpid() with option WNOHANG.

To wait for a process, use waitpid() as above without the WNOHANG option to wait (this will also return the exit code though) or WaitForSingleObject() with the process handle and a timeout of INFINITE (this does not return the exit code).


Quick Links

User menu

Not signed in.

Misc Menu