9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] ctrl-d and rio
Date: Thu,  4 Nov 2004 19:11:34 +0000	[thread overview]
Message-ID: <e5cecdd12fbd5a0e610f70573a1d0bfe@vitanuova.com> (raw)
In-Reply-To: <334ef3045cd1529b82e0bf9767ba99f5@plan9.ucalgary.ca>

this reminds me.

if i wish to run a command in the background from a window
without stopping the window from closing automatically when
the shell terminates, is there a simpler way than:

@ {
	rfork n
	unmount /mnt/wsys /dev
	unmount /mnt/wsys
	exec mycommand < /dev/null > /dev/null >[2] /dev/null &
}

?



      parent reply	other threads:[~2004-11-04 19:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-04 17:10 Steve Simon
2004-11-04 17:21 ` andrey mirtchovski
2004-11-04 18:52   ` rog
2004-11-04 19:11   ` rog [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5cecdd12fbd5a0e610f70573a1d0bfe@vitanuova.com \
    --to=rog@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).