I have an application that accepts input from stdin, let's call this application suman-f
which can be run via the command line. I'd like to limit the input to the real human user only and not allow input from automated programs. The reason for this is because if multiple processes are sending information to stdin, it will get garbled, as there is only one information channel but multiple communicators.
Is there a way to prevent anything but a human executing suman-f
via a terminal?
Or if there is some magical way to multiplex stdin, I'd love to hear about it.
suman-f
at the command line. – Alexander Mills Jul 11 '17 at 07:41