At 6:43 PM -0500 6/10/02, Forrest Cahoon wrote:
>  > Generally it looks like:
>>
>>      perl "-Iblib/lib" "-Iblib/arch" t/basic.t
>>
>
>This returns the expected value of 3:
>
>$ perl "-Iblib/lib" "-Iblib/arch" test.pl
>1..1
>ok 1
>status = %X00000001   mode = 3
>iosb.lo = %X00000001   modelen = 4
>
>Now, why is "MMK TEST" different?  It's still attached to the console.

Well... it's not, really. Yeah, MMK is creating a subprocess, but 
it's not attached to the controlling terminal. MMK binds the 
subprocess' SYS$INPUT, SYS$OUTPUT, and SYS$ERROR so it can intercept 
them. The subprocesses are *not* the same as you'll get from, say, 
spawn. The subprocess is completely isolated, or as isolated as MMK 
can make it.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk

Reply via email to