Controlling Child Process I/O in a Window Environment
Original Publication Date: 1985-Feb-01
Included in the Prior Art Database: 2005-Feb-18
Creating special I/O channels between a window control process and its child (or task) processes allows for a partitioned screen in which each task process can communicate with a user with no disturbance from other tasks. It is often necessary to spawn child processes to perform a task. Unless special arrangements are made, the child's output will interfere with the windows of the parent process. This can garble the screen with output from two or more tasks. A solution is to close the child process' regular I/O channels and create a private "pipe" (special I/O channel) between parent and child. This gives the parent process (window control process) control of the child's I/O. The parent then can decide where and when it is appropriate to display the child process' output and requests for input.