From owner-freebsd-stable@FreeBSD.ORG Thu Mar 8 13:20:45 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 5B2FB16A402 for ; Thu, 8 Mar 2007 13:20:45 +0000 (UTC) (envelope-from sthomas@nerim.net) Received: from kellthuzad.dmz.nerim.net (smtp-dmz-234-thursday.dmz.nerim.net [195.5.254.234]) by mx1.freebsd.org (Postfix) with ESMTP id 2070813C4B3 for ; Thu, 8 Mar 2007 13:20:44 +0000 (UTC) (envelope-from sthomas@nerim.net) Received: from kraid.nerim.net (smtp-104-thursday.nerim.net [62.4.16.104]) by kellthuzad.dmz.nerim.net (Postfix) with ESMTP id 77A2F22BD6 for ; Thu, 8 Mar 2007 14:03:24 +0100 (CET) Received: from webmail.nerim.net (archimonde.nerim.net [62.4.16.97]) by kraid.nerim.net (Postfix) with ESMTP id 64C9941088 for ; Thu, 8 Mar 2007 14:03:28 +0100 (CET) Received: from 194.69.32.50 (SquirrelMail authenticated user sthomas) by webmail.nerim.net with HTTP; Thu, 8 Mar 2007 14:03:24 +0100 (CET) Message-ID: <52267.194.69.32.50.1173359004.squirrel@webmail.nerim.net> Date: Thu, 8 Mar 2007 14:03:24 +0100 (CET) From: sthomas@nerim.net To: freebsd-stable@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: 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:20:45 -0000 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 ?