Re: gtk3 and fork/exec of non-gtk child
- From: rbd <rbd soest hawaii edu>
- To: cecashon aol com
- Cc: ebassi gmail com, gtk-app-devel-list gnome org
- Subject: Re: gtk3 and fork/exec of non-gtk child
- Date: Sat, 14 Jan 2017 13:36:20 -1000 (HST)
Thanks much for the suggestions and code pointer, Eric!
I get the drift that GSubProcess is a more recent package layered over
g_spawn. It consequently seems to have more features but less 3rd-party
documentation outside the reference manual.
Roger
On Sat, 14 Jan 2017, cecashon aol com wrote:
Hi Roger,
A little while back I was testing something similar with
g_spawn_async_with_pipes(). It is neither mission-critical or meticulous but
something I was just testing for the possible use with gnuplot. There is a
driver.c and a worker.c program. The driver spawns the worker and sets up
some communication. You just need to set the location path of the worker in
driver.c. Sort of simple but I had some trouble figuring out how some of
this worked so... it might be helpful.
https://github.com/cecashon/OrderedSetVelociRaptor/tree/master/Misc/Pipes
I haven't used GSubprocess and don't know of a short starter there.
Eric
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]