2024-03-29 06:30:25 发布
网友
当我尝试some cmd | main.py时:
some cmd | main.py
if not sys.stdin.isatty(): input() # how to wait for user input but not from pipe?
我已经读了Python script not waiting for user input when ran from piped bash script,但我在windows中找不到{},并且用python代码处理它。在
目前没有回答
目前没有回答
相关问题 更多 >
编程相关推荐