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".
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".
Here's a suggestion. Has anyone considered writing a library routine
to enable the UNIX based commands for VEE for Windows? I'm thinking of
the ones under I/O-->To-->StdOut(UNIX), and StdErr(UNIX), and
From-->StdIn(UNIX).
Shawn? Any suggestions? I posed this one, (not regarding your talents,
but you are well known to the presenters at the group), to the group
at the VEE Days event, last month, in NJ, but didn't get any takers.
I'm thinking that implanting the Stdin function would provide those
services that we need on Windows. Scott, you might want to pose that
to the R&D folks, even if they see it on the VRF already.
-------------------
Gregg C Levine hansolofalcon@worldnet.att.net
------------------------------------------------------------
"The Force will be with you...Always." Obi-Wan Kenobi
"Use the Force, Luke." Obi-Wan Kenobi
(This company dedicates this E-Mail to General Obi-Wan Kenobi )
(This company dedicates this E-Mail to Master Yoda )
---
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".