Web lists-archives.com

Re: Can't read stdout of bash with GSubprocess on MSYS2




On 9/29/2015 1:43 AM, Fan, Chun-wei (范君維) wrote:
> Hi Gang,
> 
> You can take a look at https://support.microsoft.com/en-US/kb/105305. 
> Basically, you need to have a console attached to the GUI app for your
> case to work.
> 
> By running your code, and by adding AllocConsole() just before you spawn
> the subprocess, I was able to get the output.
> 

Yes but the purpose of -mwindows is to remove the automatic console
allocation.  Why use it then?

-- 
Earnie
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list