Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4934

Python • Re: EOFError from input( )

$
0
0
Dear Thagrol:

It was an oversight on my part. I should have realized that stdin didn't get passed to the spawned process (for good reason). For what I want to do it is sufficient to keep the input function in the main process.

In the mean time another person also had a similar issue. Indeed, the stdin was redirected to null when it was launched from another process.

https://stackoverflow.com/questions/428 ... ing-a-line

Gerry.

Statistics: Posted by gerrypkan — Mon Mar 18, 2024 6:37 pm



Viewing all articles
Browse latest Browse all 4934

Trending Articles