0
chroot環境でpyinstallerバイナリを実行しています。次のコードはトレースバックを生成します。OSError:python shを持つptyデバイスのうち
from sh import ps, grep
grep(ps('-ef'), '[p]rovision_storage.py', _tty_in=True)
File "sh.py", line 1427, in call
File "sh.py", line 767, in init
File "sh.py", line 1780, in init
File "pty.py", line 29, in openpty
File "pty.py", line 70, in _open_terminal
OSError: out of pty devices
_tty_inをFalseに設定すると、同じトレースバックが生成されます。
環境:PythonのでコンパイルさpyInstallerのバイナリ2.7.13 コンパイル/実行時にchroot OS:Debianのストレッチ