multiple process calls from GTK



Hello,

  I am developing an application in GTK+1.2 and my problem is that I want to
execute two processes that communicate between them and then return their
output.

  First, I've got the problem of calling both processes at the same time, as I
don't know how to do it (I know I can use the system() system call to execute
something in a shell, but I don't know if it works for 2 programs...).

  Another problem I have is that it would be great to process the information of
the processes as it is generated (via standard output or another descriptor),
but I don't know how to do it at the same time that these processes are
executed.

  I also would like to be able to stop them whenever a user could think it
necessary, so my GTK application should be active while these processes are
executing...

  You see, concurrency and more concurrency... any help is wellcome!

  Many many thanks in advance,

    Germán Latorre.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]