communicating from console app to wxWidgets app?

Leslie Newell lesnewell at fmail.co.uk
Fri Nov 16 07:11:11 PST 2007


If you want to start the console app then leave it alone simply execute 
it with command line switches. Alternatively for communication while the 
process is runing, redirect stdin and stdout. Have a look at wxProcess 
and ::wxExecute.

Les

The Night Tripper wrote:
> Hi
>         I have a small wxWidgets app which I'd like to 'control' (by passing
> it a few simple command strings). The application I want to control it is a
> non-wxWidgets console app. What are some of the options to consider as a
> mechanism for doing this?
>
> I might consider making the console app a wxWidgets one, but only if there
> wouldn't be a great overhead. I'm running under Linux BTW.
>
> Thanks for your thoughts
>   





More information about the wx-users mailing list