Menu

#41 Support communicating with child processes

open
nobody
None
5
2010-04-27
2010-04-27
No

On Unix, you wait for a child process by setting a handler for SIGCHLD, and calling waitpid() or wait3() or whatever in your signal handler, and noticing the pid, and

On Windows, you wait for a child process by getting a handle to it when you create it with CreateProcess, and then calling WaitFor(Single|Multiple)Object[s].

On Unix, pipes and sockets are mostly interchangeable.

On Windows, pipes and sockets are pretty much not interchangeable.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.