def stdin_reader(self):
        if sys.stdin.isatty():
            try:
                for l in sys.stdin:
                    self.process.stdin.write(l)
            except __HOLE__:
                pass
        else:
            try:
                for l in iter(lambda: sys.stdin.read(65535), b''):
                    self.process.stdin.write(l)
            except IOError:
                pass
        self.process.stdin.close()
dataset/ETHPy150Open zerovm/zerovm-cli/zvshlib/zvsh.py/ZvRunner.stdin_reader