in reply to Detecting interactive/non-interactive shell
Do not expect users of Cygwin-Perl to see the expected behavior if you do employ the -t test to try to determine the context. An interactive shell will not be detected in that case.
I don't have a workaround for this, I merely have known it to be broken for a while now. I also do not know when (at what release of Perl) it broke (if it ever worked), or if it has since been fixed. It would be right nice, podners, if it WAS to be fixed, since people's Makefile.PLs that ask for user input at module build time are broken by this on Cygwin, too.
I concur that it seems to have been fixed in the latest releases on cygwin-perl. Yay!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Detecting interactive/non-interactive shell
by Anonymous Monk on Jul 05, 2005 at 01:59 UTC |