| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Capturing output |
Hello All,
I am (still) writing a REXX-program, for which it would be nice if I could
capture the output of OS/2-programs which I run from the REXX-script. I
could use this to examine the output of the program, or to write the output
of the program to both the screen and a logfile.
For clarity; the OS/2-program has to be started from the REXX-script, and
after the program finishes, the same REXX-script has to analyse the output
(so I can't pipe the output of the program to the REXX-script or something
like that, everything has to happen within the same REXX-script).
If possible, I don't want to use temporary files, so I can't redirect the
output of the program to a temporary file, and then read this file from the
REXX-script.
Does anybody know whether this is possible, and, if so, how it can be done?
Thanks in advance for your answer.
Regards,
Ruud (Internet: rsenden{at}cs.ruu.nl)
--- timEd/2 1.10+
* Origin: The OS/2 based RS point system (2:280/804.2054)SEEN-BY: 270/101 620/243 711/401 409 410 413 430 808 809 934 955 712/407 515 SEEN-BY: 712/517 628 713/888 800/1 7877/2809 @PATH: 280/804 801 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.