Le 18/09/2013 16:04, Alain Williams a écrit :
> What is needed is for this to NOT be called if the standard output is not
> connected to a tty.
>From your previous message:
> ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
> ...}) = 0
> ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...})
> = 0
Which is standard input, not standard output
I can get it to not do this by connecting stdin to /dev/null:
./myScript < /dev/null | less
qed
> Should I raise this as a bug ?
So, I don't think there is any bug there.
Remi.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php