我可以在 Heroku 帐户上运行 bash 脚本吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6289506/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 00:08:49  来源:igfitidea点击:

Can I run bash scripts on my Heroku account?

bashheroku

提问by donald

Is it possible to run bash scripts in the new Herokustack? How?

是否可以在新的Heroku堆栈中运行 bash 脚本?如何?

回答by Dan

The new Celadon Cedar which was released on 5/31/2011 does seem to support running many bash scripts via 'heroku run bash'.

2011 年 5 月 31 日发布的新 Celadon Cedar 似乎支持通过“heroku run bash”运行许多 bash 脚本。

Examples, details and discussions can be found hereand here

可以在此处此处找到示例、详细信息和讨论