> But then why:
>
> term% @{rfork e; echo hi} >/env/hi; echo test; cat /env/hi
> test
>
> Where is the 'echo hi' going?
in the rfork e'd environment. try something like
@{rfork e; echo -n hi; cat /env/hi >[1=2]} >/env/hi; cat /env/hi
this seems wrong. the file descriptor is clearly created in the parent.
(as evidenced by the empty file. it looks like the same file descriptor
refers to two different files.
- erik
