Re: Q: wait for child, process its return value
- From: Sascha Ziemann <szi aibon ping de>
- To: gtk-list redhat com
- Subject: Re: Q: wait for child, process its return value
- Date: 19 Jul 1998 22:48:42 +0200
Nils Philippsen <nils@wombat.dialup.fht-esslingen.de> writes:
| 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?
Use gtk_input_add:
timer_fp = popen("govie-timer-50", "r");
gdk_input_add (fileno(timer_fp), GDK_INPUT_READ, update_frame, preview);
--
http://www.ping.de/sites/aibon/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]