[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: detaching a process from an ssh session ??



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> On Fri, Jun 25, 2004 at 08:32:19AM +1000, Zenaan Harkness wrote:
> > On Fri, 2004-06-25 at 08:06, Damian Morris wrote:
> > > to do it manually, you need to use one of the special ssh escape
> > > codes. from my ssh man page:
> > >
> > >    Escape Characters
> > >      ~.      Disconnect.
> > > The one you want is "~." but make sure you enter it as the input
> > > on an empty line.
> >
> > I discovered it even needs to be the first characters typed on a
> > line, not just an empty line.
> >
> > The thing with this is that it terminates the backgrounded process.

Try "your_command </dev/null >/dev/null 2>&1 &"
- -- 
Frederik Dannemare | mailto:frederik@dannemare.net
GnuPG key: search for 'dannemare' on http://pgpkeys.mit.edu
Key fingerprint: BB7B 078A 0DBF 7663 180A  F84A 2D25 FAD5 9C4E B5A8
http://frederik.dannemare.net | http://www.linuxworlddomination.dk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA3Gl+LSX61ZxOtagRAlz1AJ0Sm2Z1akPCxfk5az9KNnZALFPJFwCcDcou
htb3vNlpDi0yhhbBA3cZF2Q=
=38jV
-----END PGP SIGNATURE-----



Reply to: