运行exec捆绑黄瓜立即关闭终端

时间:2012-10-28 07:05:54

标签: ruby-on-rails cucumber

我正在使用命令

`exec bundle cucumber features/filter_movie_list.feature --guess`
在虚拟机上运行的ubuntu上运行正常,但是今天运行相同的命令会立即关闭终端。

2 个答案:

答案 0 :(得分:2)

bundle exec而不是exec bundle。后者运行exec bash command,它用给定的进程替换shell,导致终端在完成后关闭。

答案 1 :(得分:2)

捆绑exec黄瓜功能/ filter_movie_list.feature --guess

它不是exec bundle

相关问题