Gabor Szabo wrote:
So I am trying to write an editor using Wx.
The basic editing is in place, now comes the really interesting part.
I would like to run the script being edited and provide a way for the
user to interact with it.
Basicall I'd like to have a console window in my application where
that is connected to
the STD IN/OUT/ERR to an external application.
Any recommendation how should I do that?
Gabor
I think you could use Wx::Perl::ProcessStream for that. I've never used
it but somebody ones showed me it's usage.
I think it was designed to help getting a GUI on top of a command line
program.
You could try running the script in a seperate process and hook into
that using this module.
I'm sure Mark Dootson (author of the module) or Johan Vromans (who uses
this module) might be able to tell you more if needed.
Cheers,
Huub