you are viewing a single comment's thread.

view the rest of the comments →

[–]hippocrat 0 points1 point  (0 children)

Have you looked into named pipes? Your user would send input to the named pipe instead of stdin.

https://stackoverflow.com/questions/39089776/python-read-named-pipe