in vbs (visual basic script) i can do
Set DDE_EXE=WshShell.Exec(WHERE_WE & "\dde.exe " & WScript.Arguments(1))
Do While Not DDE_EXE.StdOut.AtEndOfStream
L = DDE_EXE.StdOut.ReadLine
Loop
when i run DDE.exe, i dont wait when dde.exe finish and closes STDOUT,
i begin read stdout of dde.exe immediately!
i try rexx, i can read stdout but when dde.exe finished.
dde.exe- process of reciveing stock price in real time mode.
Can i ask developers to realize this future?
Thanks.
Anonymous
Igor, sorry for not answering earlier.
We'd need an example to reproduce the issue.
Are you aware that in Rexx you can open files for shared reading with e.g.
Thanks Erich. How i can read STDOUT of child process (for examlpe DDE.EXE or NETSH.exe or MY.EXE) and dont wait while child process finish?
when i use RXQUEUE Filter
i can read QUEUE only when dde.exe finished & closed own STDOUT. But dde.exe run 7*24 & never stop.
Thanks
Igor, with this the "do forever" loop will only start after the command has
finished.
You might want to run the command with 'START dde ..' and use a named
queue. Something like:
As an alternative without rxqueue might write just the filter in ooRexx
(which just reads stdin) and run it via 'DDE | RexxFilter.rex'
Erich
On Mon, Oct 19, 2015 at 3:47 PM, Igor ingvaring@users.sf.net wrote:
Related
Feature Requests:
#594I did so. Its not convinient for me. Because console window of cmd is visible(((
START has a /MIN parameter to hide the window, and a /B parameter to run in
background
As an alternative to starting a separate command window, use a standard
pipe (DDE | RexxFilter) and just write RexxFilter.rex (reads .stdin and
does any necessary processing). Makes it more portable, too.
Erich