China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 04:29
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [hot]How to get child process stdout?[Discussion] View 547 Replies 1
Original Poster Posted 2003-12-03 00:00 ·  中国 台湾 中华电信
初级用户
Credits 168
Posts 16
Joined 2003-11-21 00:00
22-year member
UID 13141
Gender Male
Status Offline
I have a program that calls a child process,
but I want to capture the DATA on the child process's SCREEN back into the main program. How can I do that?
Originally I wanted to intercept STDOUT, but I don't know how to do it. Please help.
Floor 2 Posted 2003-12-13 00:00 ·  中国 天津 南开区 电信
高级用户
★★
Credits 924
Posts 243
Joined 2003-07-09 00:00
23-year member
UID 6612
Gender Male
Status Offline
You can use a pipe.
Forum Jump: