How to get output of piped process?

frame frame86 at live.com
Thu Feb 18 09:40:16 UTC 2021


On Thursday, 18 February 2021 at 06:04:13 UTC, Jedi wrote:

>> Unfortunately, std.process wraps all the pipes in File 
>> structs, so you have almost no good mechanisms to properly 
>> read the data.
>>
> WTF?
>
>> -Steve

I'm wonder about this message. You can always use readln() and 
eof() on such kind of streams. byLine() is just not the best 
option here.




More information about the Digitalmars-d-learn mailing list