From owner-freebsd-stable@FreeBSD.ORG Thu Mar 8 17:22:31 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17F0416A400 for ; Thu, 8 Mar 2007 17:22:31 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from mail12.simplicato.com (mail12.simplicato.com [207.99.47.64]) by mx1.freebsd.org (Postfix) with ESMTP id E294E13C48E for ; Thu, 8 Mar 2007 17:22:30 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from mail12.simplicato.com (localhost [207.99.47.64]) by mail12.simplicato.com (Postfix) with ESMTP id 1C092E76D for ; Thu, 8 Mar 2007 12:00:55 -0500 (EST) Received: from uws1.starlofashions.com (unknown [12.44.50.124]) by mail12.simplicato.com (Postfix) with ESMTP id E13E8E6E6 for ; Thu, 8 Mar 2007 12:00:54 -0500 (EST) Received: by uws1.starlofashions.com (sSMTP sendmail emulation); Thu, 8 Mar 2007 12:00:54 -0500 Date: Thu, 8 Mar 2007 12:00:54 -0500 From: Scott Robbins To: freebsd-stable@freebsd.org Message-ID: <20070308170054.GA44051@uws1.starlofashions.com> Mail-Followup-To: freebsd-stable@freebsd.org References: <52267.194.69.32.50.1173359004.squirrel@webmail.nerim.net> <20070308095916.k48ggnnj4kk8koo4@correo.argosteve.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070308095916.k48ggnnj4kk8koo4@correo.argosteve.com> User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: Re: Background process X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 17:22:31 -0000 On Thu, Mar 08, 2007 at 09:59:16AM -0600, eculp@argosteve.com wrote: > Quoting sthomas@nerim.net: > > >Hello, > > > >I connect to my freebsd box via ssh using putty from a WindowsXP > >workstation, I want to run a process on the freebsd box, then close my ssh > >session (closing putty) while keeping the process running. > > > >So I run my process like this : # myprogram &, then I exit the shell. > > > > nohup ? > > ed > There is always the screen program /usr/ports/sysutils/screen which is ideal for things like this. Although it's not a builtin like nohup, it is (imho) more flexible. (To be honest, I've used screen for so long, if I had to use nohup I'd have to look up the syntax) I think it's something like nohup sh -c $(your_command) & but I could be wrong. -- Scott GPG KeyID EB3467D6 ( 1B848 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Giles: But this is why I think we should all keep a level head in this. Willow: And I happen to think mine is the level head and yours is the one things would roll off of.