Terry Moore claimed:
>
> To subscribers of the xforms list from Terry Moore <tmoore@krusty.dseg.ti.com> :
>
> I can not seem to find the secret for making system calls.
>
> If I use a callback functions for a button
> and do system("who");
> the output goes to stdio. ( the active win )
>
> I would like to capture this output and output it into
> a textbox.
>
> I am trying to learn xforms by wrapping a GUI around things
> like
> who, whoami, ping, ifconfig , top ...
>
> I am out of Ideas
Easy... take a look at popen()
-- Erik Van Riper (EV34) Systems / Network Administrator Midway Home Entertainment Inc. San Diego, California (619) 658 9500 (x110) Go player.