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-06-26 21:24
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » [Urgent] How to write a program that can call and execute other programs [Help] View 494 Replies 1
Original Poster Posted 2003-11-23 00:00 ·  中国 台湾
初级用户
Credits 168
Posts 16
Joined 2003-11-21 00:00
22-year member
UID 13141
Gender Male
Status Offline
Hello everyone,
I tried executing other programs with SYSTEM(); it lets me call programs under DOS,
but I can't capture their screen output back into the program I was originally running.

What methods are there to wrap a program around many module executables?
Floor 2 Posted 2003-11-24 00:00 ·  中国 台湾 中华电信(HiNet)数据中心
初级用户
Credits 168
Posts 16
Joined 2003-11-21 00:00
22-year member
UID 13141
Gender Male
Status Offline
Hehe, I'll answer it myself.
I looked around and found that it can be done with functions from PROCESS.H.

If there are other ways, please let me know.
Forum Jump: