lib/rbbt/workflow/remote/ssh/driver.rb in rbbt-util-5.26.119 vs lib/rbbt/workflow/remote/ssh/driver.rb in rbbt-util-5.26.120

- old
+ new

@@ -1,8 +1,8 @@ module SSHDriver def self.run(server, script) Log.debug "Run ssh script in #{server}:\n#{script}" - CMD.cmd("ssh '#{server}' 'shopt -s expand_aliases; bash -ic \"ruby\"' ", :in => script, :log => true).read + CMD.cmd("ssh '#{server}' 'shopt -s expand_aliases; bash -l -i -c \"ruby\"' ", :in => script, :log => true).read end #def self.run_log(server, script) # Log.debug "Run and monitor ssh script in #{server}:\n#{script}" # CMD.cmd("ssh '#{server}' 'shopt -s expand_aliases; bash -ic \"ruby\"' ", :in => script, :log => true)