Re: Can't read stdout of bash with GSubprocess on MSYS2
- Date: Tue, 29 Sep 2015 06:57:42 -0400
- From: Earnie <earnie@xxxxxxxxxxxxxxxxxxxxx>
- Subject: 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?
gtk-list mailing list