bug-bash
[Top][All Lists]
Advanced

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

Re: SIGTTOU handling


From: Mike Stroyan
Subject: Re: SIGTTOU handling
Date: Tue, 13 Nov 2007 10:18:22 -0700
User-agent: Mutt/1.5.15+20070412 (2007-04-11)

On Sun, Nov 11, 2007 at 09:56:11PM -0800, cerise@armory.com wrote:
...
> I had some difficulties getting job control working at
> first.  I found that having the child process do a 
> setpgrp() before forking to the bash instance made the
> error message about disabling job control go away.

You need to call setpgrp or setsid and then open a pty device
to establish the pty as a control terminal.

-- 
Mike Stroyan <mike@stroyan.net>




reply via email to

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