Hi,
Sorry to flood the list with my broken pipes stories but I finally found
a way to get this to work! hurray! Here is a solution.
The following code just spawn a shell to which you can send commands.
#include
#include
#include
#include
#include
Glib::RefPtr ch_stdout;
bool callback(Glib
Hi again, I partially solved my problem:
One needs to call Glib::IOChannel::flush() after writing on outgoing
pipe for the message to be passed.
For the ingoing pipe, it is necessary to add a watch function using for
instance
Glib::io_signal().connect(sigc::mem_fun(&object,Object::callback),ingoi
Hi,
I don't know if this is the correct mailing list so redirect me if not.
In a Gtkmm project, I'm using Glib::spawn_async_with_pipes to execute
and control a child process (gnugo in the example). But I cannot get it
to work!
For example:
In the following code, I just redirect the gnugo stdin an