|
From: | Dr . Jürgen Sauermann |
Subject: | Re: ⎕FIO Buffer limit is 5000 Bytes |
Date: | Sat, 31 Oct 2020 14:39:35 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Hi, On 10/30/20 6:14 PM, Kacper Gutowski wrote:
That is actually a cool idea: run your pipe or program with )HOST, forward the output into some /tmp/xxx and read back /tmp/xxx. It also gives you some moreOn Fri, Oct 30, 2020 at 02:34:35PM +0100, Dr. Jürgen Sauermann wrote:There is also ⎕FIO[26] which reads an entire file, but I am not sure how it works with popen()ed streams.It doesn't at all because it takes a path which additionally needs to be a regular file because it's mmaped rather than read.For the record, something like ⍎')HOST ...' might sometimes be practical. -k
control over using stdout, stderr, or both from the executed program . Jürgen
[Prev in Thread] | Current Thread | [Next in Thread] |