problem with 'script' when standard input is closed

Pavel Raiskup praiskup at redhat.com
Fri Mar 14 15:39:48 UTC 2014


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,

Pavel



More information about the busybox mailing list