
[英]Heroku -> Python: Using subprocess to launch an executable gets [Permission Denied]
[英]Heroku permission for Subprocess
当涉及到这个子进程时,我在 Heroku 上部署的应用程序崩溃了。 我读到了关于授予 Heroku 许可的信息。 但是,我没有找到与我的问题相关的任何内容。
有人知道执行以下代码的方法吗?
process = Popen(
['pdflatex', '-output-directory', f'{current_path}/templates'],
stdin=PIPE,
stdout=PIPE,
)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.