Does python's sys.stdin.read() block?

前端 未结 3 1454
粉色の甜心
粉色の甜心 2021-01-12 17:18

I\'m adapting this Django management command for my own purposes. The script is a simple while-loop daemon that reads from sys.stdin (line 152, in command.handle()

3条回答
提交回复
热议问题