in reply to Redirect dos console output to a widget
You might try setting up a tied handle that would add anything sent to it to your widget, and then replacing STDOUT and STDERR with it. You'll probably have to use typeglob assignment to change STDOUT and STDERR, since I doubt the dup'ing form of open would work with tied handles... Not sure aboot that, though.
HTH
bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (bbfu) (tied handles) Re: Redirect dos console output to a widget
by John M. Dlugosz (Monsignor) on Aug 23, 2001 at 10:18 UTC | |
by MZSanford (Curate) on Aug 23, 2001 at 13:01 UTC | |
by bbfu (Curate) on Aug 24, 2001 at 02:07 UTC | |
by John M. Dlugosz (Monsignor) on Aug 24, 2001 at 02:40 UTC | |
by bbfu (Curate) on Aug 24, 2001 at 03:10 UTC |