From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Wed, 16 May 2012 11:03:37 -0400 To: sl@9front.org, 9fans@9fans.net Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] rc behavior with rfork Topicbox-Message-UUID: 8f82c26e-ead7-11e9-9d60-3106f5b1d025 > 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