On Friday 14 March 2014 16:39, Pavel Raiskup wrote:
> Hey guys,
> 
> I spotted some problems with 'script' implementation in busybox.  The
> difference between this and 'util-linux' script implementation:
> 
>   [util-linux]~$ script -q -c "echo hey"  /dev/null 0>&-
>   hey
>   [busybox]~$ busybox script -q -c "echo hey"  /dev/null 0>&-
>   script: can't find free pty
> 
> I hope that busybox should continue to work even if the standard input is
> closed.  Thanks for any comment,

Fixed in git.
But you are better use </dev/null in such cases.
Many more programs are buggy in this way.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to