Mail Archives: djgpp-workers/2000/10/30/07:47:25
At 07:22 AM 10/30/00 +0200, Eli Zaretskii wrote:
>On Sun, 29 Oct 2000, Peter J. Farley III wrote:
>> Well, I did some more code reading yesterday, and the
PerlProc_popen
>> procedure defined inside perl definitely uses 'exec("sh -c
command")'
>> to run the command. I'm going to try to figure out how to use or
>> copy the perl code
>
>Before you copy that code, I'd suggest to make sure that invoking
Bash
>with "sh -c" indeed removes the special meaning of #.
Will do.
>> The code I saw is deliberately bypassed for DJGPP with "#if
>> !defined(DJGPP)" (among other systems).
>
>This might have been done for good reasons, which far outweigh the
>problems with the little gork that started this thread.
Yes, further reading of that code shows use of pipe() and fork(), which
we do not have. The guts of the command execution are in a
perl-private exec/spawn wrapper, and this is the code to which I was
really referring.
More as I get to it.
---------------------------------------------------------
Peter J. Farley III (pjfarley AT dorsai DOT org OR
pjfarley AT banet DOT net)
- Raw text -