create a pipe vfork in child change stdout and stderr to one end of the pipe exec a new program that now uses the pipe as it's output now in the main program read from the pipe to get the output.
Will the child do *exec() ?
If not, the parent will be blocked until the child exits. This might or might not be desired.
-Michael _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev