Publishing Flask Web App on Azure

后端 未结 2 1467
失恋的感觉
失恋的感觉 2020-12-20 10:11

I have Flask web app that im trying to publish on azure. I deployed it on web app, Created new resource, downloaded user publish profile and published it from visual studio

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-20 10:34

    I had the same issue, in my case the problem was missing redirection of the stderr, same as your code I redirected only stdout+stdin.

    Adding stderr=PIPE solved my problem.

    process = Popen(exe_relative_path, stdin=PIPE, stdout=PIPE, stderr=PIPE)  
    

提交回复
热议问题