zsh-users
 help / color / mirror / code / Atom feed
* &! for bg
@ 2012-12-21 18:16 meino.cramer
  2012-12-21 18:39 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: meino.cramer @ 2012-12-21 18:16 UTC (permalink / raw)
  To: zsh-users

Hi,

when doing 

    <command> &!

the command?job goes into background and
is detached from the terminal so closing 
the shell/terminal will not stop the job.

But...
If the command is already running on a terminal
one can do a ^Z and bg to put it in the background
but closing the shell/terminal will stopping
the the job.

Is there something like bg! to put a running
job like &! ???

Best regards,
mcc




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: &! for bg
  2012-12-21 18:16 &! for bg meino.cramer
@ 2012-12-21 18:39 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2012-12-21 18:39 UTC (permalink / raw)
  To: zsh-users

On Dec 21,  7:16pm, meino.cramer@gmx.de wrote:
}
} Is there something like bg! to put a running
} job like &! ???

disown

Note that disowning a stopped job will not restart it unless the
AUTO_CONTINUE option is set, so often you need to do first bg and then
disown.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-21 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-21 18:16 &! for bg meino.cramer
2012-12-21 18:39 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).