0 votes
by Mario Beaulieu (140 points)
Hi,

Is there a way to capture the output of a shell command without using a file? For example, GForth has words like open-pipe and close-pipe which make that possible. Is there something similar in Vfx Forth?

Thanks

Mario

1 Answer

0 votes
by Stephen Pelc (3.4k points)

You do not say which tool you are using. I presume Linux. See:

VFXBase/LinXX/shell.fth

and look for >pShell and friends which do what you want. My apologies for the delay in answering - the notification system seems to be broken.

...