Re: multiple process calls from GTK




 I guess what you need is a good 5 days read on Steven's book (Advanced
programming on Unix Environment) or something like that.

  * Fork/exec
  * File descriptor inheritance
  * Signals
  * Child process handling.


  It would take roughly 932 emails to help you with this.

  Get the book and good luck.

Harring.
--- 447158 celes unizar es wrote:
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.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



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