On Thu, Aug 24, 2023 at 06:53:27AM -0600, Todd C. Miller wrote:
> On Wed, 23 Aug 2023 18:23:40 -0700, Andrew Hewus Fresh wrote:
> 
> > I would have to see an example of doing that between ksh and perl.
> 
> Standard output should already be a pipe in the perl process by
> virtue of running as a co-process.  In theory you should be able
> to poll on it checking for POLLHUP.  Since our pipes are actually
> bidiretional we can cheat and use select.  Something like this:

I hadn't considered waiting for STDOUT to be readable, that makes total
sense.  Thanks.

I'll probably wait to commit these fw_update fixes until I'm back on
Wednesday for a long weekend away from computers.

Reply via email to