How to get output of piped process?
Steven Schveighoffer
schveiguy at gmail.com
Fri Feb 19 13:18:17 UTC 2021
On 2/19/21 3:37 AM, Imperatorn wrote:
> On Thursday, 18 February 2021 at 17:27:48 UTC, Steven Schveighoffer wrote:
>> On 2/18/21 4:40 AM, frame wrote:
>>>> [...]
>>
>> It's just the way it is. Everything in Phobos is a C FILE * (wrapped
>> in a File). You need to use alternative i/o systems to get the
>> information.
>>
>> [...]
>
> Does your iopipe handle... Pipes? 😀
>
> Like someone wrote, can it? 🤔
Not yet. Important to remember that iopipe does not do actual i/o, it's
a library to add *buffering* to i/o.
The std.io (which is the intended source for iopipe) library does not
support pipes at the moment. But I plan to add them.
https://github.com/MartinNowak/io/issues/24
-Steve
More information about the Digitalmars-d-learn
mailing list