Cygwin Prob -- included 'setsid' is clearing terminal

Linda Walsh
Sun Nov 23 03:49:00 GMT 2014

The setsid command on cygwin seems to have broken recently:

/tmp> uname -a;setsid date
CYGWIN_NT-6.1 Athenae 1.7.32(0.274/5/3) 2014-08-13 23:06 x86_64 Cygwin

vs. a linux box:
Ishtar:/tmp> uname -a ;setsid date
Linux Ishtar 3.17.3-Isht-Van #1 SMP PREEMPT Sun Nov 16 15:13:22 PST 2014 
x86_64 x86_64 x86_64 GNU/Linux
Sat Nov 22 18:10:54 PST 2014

It seems to mess up the current tty value:

Ishtar:/tmp> tty;setsid tty >/tmp/tty.out ; cat /tmp/tty.out

/tmp> tty;setsid tty >/tmp/tty.out ; cat /tmp/tty.out
not a tty

not a tty???


/tmp> cygcheck -f /bin/setsid

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list