Fixes Inappropriate ioctl and stdin is not a tty issues
Fixes Inappropriate ioctl and stdin is not a tty issues

ikari7789/puphpet,ikari7789/puphpet,ikari7789/puphpet,ikari7789/puphpet,ikari7789/puphpet