This commit is contained in:
chiu 2020-02-22 14:41:33 +08:00
parent eaa1545370
commit f80ef48e6e
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ if old_gemfile_text != new_gemfile_text
Bundler.with_clean_env do
puts env_pwd
puts mode
exec("cd #{env_pwd} && env -i HOME=\"$HOME\" sh -c \"#{all_command}\" && screen -d -m -S auto_reopen_#{dir_name} #{watch_dog_cmd} ")
exec("cd #{env_pwd} && env -i HOME=\"$HOME\" bash -l -c \"#{all_command}\" && screen -d -m -S auto_reopen_#{dir_name} #{watch_dog_cmd} ")
end
end
now_priority = Thread.current.priority.to_i