Fun with open_port

Gerd Flaig <>
Sat Mar 20 17:54:31 CET 2004


Gerd Flaig <> writes:

>    % erl
>    Erlang (BEAM) emulator version 5.3 [source] [hipe] [threads:0]
>    
>    Eshell V5.3  (abort with ^G)
>    1> dreck:r().
>    {#Port<0.30>,{exit_status,0}}
>    2> dreck:r().
>    {#Port<0.32>,{exit_status,0}}
>    3> dreck:r().
>    {#Port<0.33>,{exit_status,0}}
>    4> c(dreck).
>    {ok,dreck}
>    5> dreck:r().
>    timeout
>    6> dreck:r().
>    {#Port<0.65>,{exit_status,0}}
>    7> dreck:r().
>    {#Port<0.66>,{exit_status,0}}
>    8> dreck:r().
>    {#Port<0.67>,{exit_status,0}}

maybe I should also point out that the exit status doesn't get
delivered only after the first compile command in a node.

Another thing is: After the timeout, I have a /bin/true zombie in the
process table which disappears after the next test run.

       Goodbyte, Gerd.
-- 
Gerd Flaig                     Technik                
Bei Schlund + Partner AG       Brauerstraße 48      D-76135 Karlsruhe
 Physics is like sex: sure, it may give some practical results,
 but that's not why we do it. -- Richard Feynman



More information about the erlang-questions mailing list