PDA

View Full Version : recover process



mikeruss
2008-03-16, 15:37
Hi all

Quick one. I was running an app in the shell and closed the shell and the app is still running. Whats the command to bring back to the front?

mjch
2008-03-16, 17:20
On Sun, Mar 16, 2008 at 03:37:44PM -0700, mikeruss wrote:
|Quick one. I was running an app in the shell and closed the shell and
|the app is still running. Whats the command to bring back to the
|front?

you can't ...

unless you start it from within something like screen, you generally can't
reattach the driving terminal device ...

--
Malcolm Herbert This brain intentionally
mjch (AT) mjch (DOT) net left blank

DVB
2008-03-16, 21:21
fg?

/DVB

cjhabs
2008-03-17, 19:07
You may need to run:
jobs

This will give you a list of jobs running in the background.

Then:
fg job#
will bring the requested job to the foreground.

Habs

mjch
2008-03-17, 19:24
On Mon, Mar 17, 2008 at 07:07:01PM -0700, cjhabs wrote:
|You may need to run:
|jobs
|
|This will give you a list of jobs running in the background.
|
|Then:
|fg job#
|will bring the requested job to the foreground.

I think the point was that the shell that the command was started from
had been closed and therefore would not be available to provide this
sort of job control.

--
Malcolm Herbert This brain intentionally
mjch (AT) mjch (DOT) net left blank