[Gambas-user] Blocking read from a Process you had to write to

Cedron Dawg cedron at exede.net
Tue Mar 19 19:36:23 CET 2019


It would be nice though for Exec to work like this

	Exec <Command> To sOut, sErr

(See, what I did there?  ;-)


----- Original Message -----
From: "Jussi Lahtinen" <jussi.lahtinen at gmail.com>
To: "user" <user at lists.gambas-basic.org>
Sent: Tuesday, March 19, 2019 2:31:13 PM
Subject: Re: [Gambas-user] Blocking read from a Process you had to write to

That is expected. Standard out does not include error messages in Linux. 

Jussi 

On Tue, Mar 19, 2019 at 4:59 PM Cedron Dawg < [ mailto:cedron at exede.net | cedron at exede.net ] > wrote: 


Turns out this is a stderr vs stdout issue. 

I can solve it by putting this in "m": 

make 2> make.out 

Then reading "make.out" 

Kludgy, but it works. 



More information about the User mailing list