正如这些示例中所使用的,例如:
从bundle exec调用的命令内部shell到bundle
or
shell 执行一个不属于当前包的 Ruby 命令,
http://bundler.io/man/bundle-exec.1.html http://bundler.io/man/bundle-exec.1.html
or
我正在 rake 任务中使用 heroku 命令
https://github.com/sstephenson/rbenv/issues/400 https://github.com/sstephenson/rbenv/issues/400
这意味着使用反引号执行子进程(如`command`
), the system
调用或其他类似方法。它们在子 shell 中执行进程,因此得名。
您可以在此答案中找到更多详细信息:https://stackoverflow.com/a/18623297/29470 https://stackoverflow.com/a/18623297/29470
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)