We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigation shows that running the command 'exec' (see http://rubyquicktips.com/post/5862861056/execute-shell-commands) quits the application and therefore report_time isnt finishing its report.
A solution is the following:
module SshHelpers module Ssh def invoke(script, this) # Ruby 1.8.7 doesn't let you have empty symbols term_mode = :"#{this.settings.term_mode}" if this.settings.term_mode code = "#{this.ssh_command} -- #{script}" # Certain environments can't do :pretty mode. term_mode = :exec if term_mode == :pretty && !pretty_supported? is_windows = (RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/) case term_mode when :pretty this.pretty_system(code) when :exec && !is_windows exec code else system code $?.to_i end end end end end
The text was updated successfully, but these errors were encountered:
same applies for module LocalHelpers
Sorry, something went wrong.
Exec is working as intented. It does what you said it does and as such wont report time as time is outputed after all tasks are finished.
This has nothing to do with windows, and what you suggested would break some tasks that depend on this feature, example is: ssh
ssh
No branches or pull requests
Investigation shows that running the command 'exec' (see http://rubyquicktips.com/post/5862861056/execute-shell-commands) quits the application and therefore report_time isnt finishing its report.
A solution is the following:
The text was updated successfully, but these errors were encountered: