Re: Waiting for the child process to finis
Wouter Bolsterlee <[email protected]> Fri, 06 Mar 2009 23:29:23 +0100
| Newsgroups | gmane.comp.gnome.devel |
|---|---|
| Message-ID | <[email protected]> |
2009-03-06 klockan 20:44 skrev Łukasz Ślachciak:
> I would like to know when application launched by my program has
> finished its execution.
>
> I'm using g_app_info_launch from GIO but it only allows me to launch
> application without giving any possibility to get a knowledge in a
> future when that application has finished.
>
> Does any of the other gnome family libraries allows me to do this? Or I
> just need to use fork() and exec() functions?
Try g_spawn_async(), g_spawn_sync() and friends.
— Wouter
_______________________________________________
gnome-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-devel-list
signature.asc
(application/pgp-signature, 253 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: This message was signed/encrypted using GnuPG. iEYEARECAAYFAkmxo8IACgkQP7QTTiUKY+vwwACeLh/3W/mlAFj9G1YEVerg2CN9 ofcAoMlcc7WvVQKTAKrH6Y9wNfiVgtsQ =3DY1 -----END PGP SIGNATURE-----