From owner-freebsd-stable@FreeBSD.ORG Thu Mar 8 13:58:38 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 095F816A400 for ; Thu, 8 Mar 2007 13:58:38 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id D7A8C13C441 for ; Thu, 8 Mar 2007 13:58:37 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id A844C5C57; Thu, 8 Mar 2007 08:30:52 -0500 (EST) Date: Thu, 8 Mar 2007 08:30:52 -0500 From: Wesley Shields To: sthomas@nerim.net Message-ID: <20070308133052.GA75313@atarininja.org> References: <52267.194.69.32.50.1173359004.squirrel@webmail.nerim.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52267.194.69.32.50.1173359004.squirrel@webmail.nerim.net> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-stable@freebsd.org 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 13:58:38 -0000 On Thu, Mar 08, 2007 at 02:03:24PM +0100, sthomas@nerim.net wrote: > 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. > > But when I do that, I can see with ps that my process go from "TT" "p0" to > "TT" "p0-" and the application doesn't work anymore. For information, the > program I want to be able to run via ssh then close the ssh session is the > moinmoin wiki which is a wiki written in python. > > In man ps I can see that the trailing "-" after "p0" means my process can > no longer reach the controlling terminal... But what can I do to achieve > my goal ? Install ports/sysutils/screen. -- WXS