On 12/17/23 10:47 PM, Zachary Santer wrote:

As a follow-on question, why would this be implemented only now? From the
very beginning, capturing the stdout of an external command involved
forking a subshell, and soon (assuming funsubs remain when 5.3 is released)
it won't have to. It feels like something changed to make this feasible
when it hadn't been before.

I suppose it was mostly the work I did to make command substitution parsing
call the bison parser recursively instead of using the ad-hoc scheme that
had been in place for years.

Once you identify all the relevant parser state, the alternate nofork
command substitution becomes easier.

Time and motivation are always factors, of course.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to