Mail Archives: djgpp-workers/2000/10/27/19:32:51
At 11:46 AM 10/27/00 +0200, you wrote:
<Snipped>
>I'm not sure this is the correct way of testing this. The original
>command invoked ECHO differently ("echo #foo|"), which might be
>invoking the shell in some subtly different way, e.g. because it
>redirects the standard handles. I think you need to test the
>interactive/non-interactive aspect in the same way.
I will isolate the failing perl test code and test it separately on
both DJGPP and Linux and see if I can generate more info. As you said
in an earlier note, we need to know how it is that perl does this in
*ix environments to see what path we need to take.
BTW, the DJGPP perl "popen"/"pclose" wrapper/substitutes that Laszlo
pointed me to use system() exclusively for the command execution, both
for read and write pipes. But the wrapper also uses dup/dup2 on stdout
(for read pipes) or stdin (for write pipes) around the calls to
system(). So DJGPP perl is using strictly system(), and now I need to
find out what perl uses elsewhere. And maybe what a *ix popen/pclose
really use.
More as I discover it.
---------------------------------------------------------
Peter J. Farley III (pjfarley AT dorsai DOT org OR
pjfarley AT banet DOT net)
- Raw text -