Python without a tty

Hegedüs, Ervin airween at gmail.com
Mon Oct 3 03:56:55 EDT 2011


hello,

On Mon, Oct 03, 2011 at 09:28:27AM +0200, Hans Mulder wrote:
> On 3/10/11 08:10:57, Hegedüs, Ervin wrote:
> >
> >If you fork() your process, then it will also loose the tty...
> 
> Errhm, I suggest you check again.  This cannot be true.
> 
> >os.setsid()
> 
> It is os.setsid() that makes you lose the tty.

well, thank you, I confused Python fork() and glibc daemon() - as
I know that detach the terminal - I'm really sorry.


a.
 



More information about the Python-list mailing list