Invoking python under CygWin on Windows hangs

前端 未结 8 960
梦谈多话
梦谈多话 2020-12-04 19:44

Installing a new Windows system, I\'ve installed CygWin and 64 bit Python (2.7.3) in their default locations (c:\\cygwin and c:\\Python27\\python),

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 20:05

    My solution involved writing a shell script to run the python app.

    python file.py "$@" | tee /dev/null
    

    That extra tee command (to nowhere) seems to fix the issue.

提交回复
热议问题