Background process
Brooks Davis
brooks at freebsd.org
Thu Mar 8 13:23:31 UTC 2007
On Thu, Mar 08, 2007 at 02:03:24PM +0100, sthomas at 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 ?
I believe what you are looking for is nohup(1).
-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070308/ae4e0649/attachment.pgp
More information about the freebsd-stable
mailing list