* Jeff Turner ([EMAIL PROTECTED]) wrote:
> Hi all, 
> 
> Just something I've been wondering about:
> 
> I know it's possible to push a running job into the background with
> ctrl-z. But that stops the job too. Is it possible to keep it running,
> as if you'd invoked it with a &?
> 
> As I understand it, saying "foo &" forks foo off as a separate process,
> whereas just saying "foo" runs foo as a child (?) process with the same
> pid as the parent. The question then becomes, is it possible to make it
> seem as if a child process becomes detached from it's parent?
> 
> Thanks,
> 
> --Jeff

$ mpg123 Binary_Finary-1998.mp3 
[...]
Playing MPEG stream from Binary_Finary-1998.mp3 ...
^Z

[1]+  Stopped                 mpg123 -b 4096 Binary_Finary-1998.mp3

$ bg 1

[1]+ mpg123 -b 4096 Binary_Finary-1998.mp3 &

Okay?

Then use fg to bring it back.

Tom.
-- 
            .-------------------------------------------------------.
    .^.     | Tom Gilbert, England | [EMAIL PROTECTED] |
    /V\     |----------------------| www.tomgilbert.freeserve.co.uk |
   // \\    | Sites I recommend:   `--------------------------------|
  /(   )\   | www.freshmeat.net www.enlightenment.org slashdot.org  |
   ^^-^^    `-------------------------------------------------------'

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to