help with GLib.spawn_async_with_pipes



Hi All,

I wish to know how to use this function using gjs and more importantly how to parse and listen for results returned by the spawned shell command. 

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.

I wish to parse the standard-output and standard-error . Any thoughts or example code or project where this is already implemented would be highly beneficial for me.

Thanks

Bhanu Pratap Chaudhary


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]