如在这些示例中使用的,例如:
shell out to bundle from inside a command invoked by bundle exec
或
shell out to a Ruby command that is not part of your current bundle,
http://bundler.io/man/bundle-exec.1.html
或
i'm shelling out to the heroku command in the rake task
最佳答案
这意味着使用反引号(如 `command`
)、system
调用或其他类似方法执行子流程。这些在子 shell 中执行进程,因此得名。
您可以在此答案中找到更多详细信息:https://stackoverflow.com/a/18623297/29470
关于ruby - "shell out"或 "shelling out"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28628985/