help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] backgrounding a process sends it into a tailspin


From: Greg Wooledge
Subject: Re: [Help-bash] backgrounding a process sends it into a tailspin
Date: Thu, 13 Sep 2012 08:12:59 -0400
User-agent: Mutt/1.4.2.3i

On Wed, Sep 12, 2012 at 09:46:39PM +0000, Cook, Rich wrote:
> I should clarify, nobody is starting it in the background.  What happens, is
> that we have a few users that spawn multiple instances and then put it into
> the background at some point and start another instance, work on that, then
> foreground the other, work on that, etc.  That's just their workflow.  This
> works fine for them if there is no wrapper script, but with a script, they
> are blocked.

Then use wrapper *functions* instead of wrapper scripts.  Then your
jobs will be children of the interactive shell, and you can use job
control on them.

You can't use job control on processes that are not your direct children.

The only other choice would be something like tmux/screen.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]