On Fri, 2015-07-31 at 22:56 +0530, Bhanu Chaudhary wrote:
> The documentation on https://people.gnome.org/~gcampagna/docs/GLib
> -2.0/GLib.spawn_async_with_pipes.html seems a bit confusing as I have 
> just begun with gjs and gtk.

Here is example for GLib.spawn_async_with_pipes

https://gist.github.com/f33e639367c12edfd727

I think its better to use Gio.Subprocess[1] instead of GLib.spawn*
functions to work with child processes, because Gio.Subprocess gives
more control with streams and have proper bindings.

[1] 
https://people.gnome.org/~gcampagna/docs/Gio-2.0/Gio.Subprocess.html

Thanks,
Mohan R
_______________________________________________
javascript-list mailing list
javascript-list@gnome.org
https://mail.gnome.org/mailman/listinfo/javascript-list

Reply via email to