AnsweredAssumed Answered

vrf Bringing the UNIX functions to the Windows version of VEE

Question asked by VRFuser on Nov 4, 2003
Hmmm... stdin, stdout & stderr. Shouldn't be that awfully hard to do. Both
Georg and I (and probably others as well) have stdout capture functions -
and the principal is similar for stdin & stderr. The main problem with
Windows is that these streams are held by the Console (command processor
more or less) so any entity that wishes to use them must be running under
the auspices of a console. In Windows this isn't the case - a GUI
application (VEE) doesn't normally use a console so it doesn't have stdin
stdout & stderr.

The easiest thing I can think of to do is capture these streams & make them
available to VEE as string arrays. It shouldn't be too difficult to build
this capability into the Execute Program PC object, but the thing is it
wouldn't always work. VEE can go ahead and redirect these streams, but then
the executed program can go ahead and do whatever else it wants to with
them - cutting off VEE entirely.

And of course some of the most useful commands are built into the command
processor itself - which can do it's own redirection. All in all I don't
know if it would ever make it high enough on the "ToDo" list to actually get
done

I can't remember what I used this in. I'll scrum around and find it for you.
If you think it might prove useful I can expand it to stdin & stderr at some
point.
-SHAWN-


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes