there are few examples to consider:

   1. https://github.com/optimisme/gjs-examples/blob/master/egSpawn.js
   2.
   
http://git.roojs.org/?p=gitlive;a=blob;f=Spawn.js;h=4d9f202373cb111b47cb3c2eac0db4de405e0deb;hb=HEAD
   3. https://github.com/WebReflection/jsgtk/blob/master/jsgtk/fs.js#L9-L22
   (for files and without pipes)

Hope one of these helps


On Sat, Oct 31, 2015 at 1:11 PM, muhammed hassan <muhammedabu...@gmail.com>
wrote:

> Hello,
> I am trying to read stdout form gjs asynchronously and I failed .
> here is my question on stack overflow .
> read-asynchronous-stdout-from-gjs
> <http://stackoverflow.com/questions/33451496/read-asynchronous-stdout-from-gjs>
>
> any help is much appreciated.
> thanks
>
> _______________________________________________
> javascript-list mailing list
> javascript-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/javascript-list
>
>
_______________________________________________
javascript-list mailing list
javascript-list@gnome.org
https://mail.gnome.org/mailman/listinfo/javascript-list

Reply via email to