Q: wait for child, process its return value
- From: Nils Philippsen <nils wombat dialup fht-esslingen de>
- To: gtk-list redhat com
- Subject: Q: wait for child, process its return value
- Date: Sun, 19 Jul 1998 19:55:32 +0200 (CEST)
Hello,
For a program I write (simple GUI for a UUCP feed, at the moment just a
single button which will run sendmail -q, then uucico, then sendmail -q
again) I need to do something like this:
wait on the child process, while processing gtk+ events (here wait() will
not suffice) but after the child's death I need it's return value (and I
don't want to know, when a child is SIGSTOPped), so signal(SIGCHLD, ...)
won't suffice, too.
Has anybody a suggestion how to continue processing gtk+-events and having
the subsequently called program's return value?
Bye, Nils
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nils Philippsen @college: nils@rhlx01.rz.fht-esslingen.de
Vogelsangstrasse 115 @home: nils@wombat.dialup.fht-esslingen.de
D 70197 Stuttgart phone: +49-711-6599405
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wer heute an der Bildung spart, Those who scrimp on education today,
hat morgen noch bloedere Politiker. get even dumber politicians tomorrow.
liticians tomorrow.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]