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:
linux:
Ishtar:/tmp> tty;setsid tty >/tmp/tty.out ; cat /tmp/tty.out
/dev/pts/6
/dev/pts/6
cygwin:
/tmp> tty;setsid tty >/tmp/tty.out ; cat /tmp/tty.out
/dev/pty0
not a tty
not a tty???
:-(
/tmp> cygcheck -f /bin/setsid
util-linux-2.24.2-1
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple