lib/CLIntegracon/subject.rb in clintegracon-0.5.2 vs lib/CLIntegracon/subject.rb in clintegracon-0.5.3

- old
+ new

@@ -91,21 +91,21 @@ #-----------------------------------------------------------------------------# # @!group Interaction - # Runs the executable with the given arguments in the temporary directory. + # Runs the executable with the given arguments. # # @note: You can check by `$?.success?` if the execution succeeded. # # @param [String] head_arguments # The arguments to pass to the executable before the default arguments. # # @param [String] tail_arguments # The arguments to pass to the executable after the default arguments. # # @return [String] - # The output, which is emitted while execution from the binary. + # The output, which is emitted while execution. # def launch(head_arguments='', tail_arguments='') vars = environment_vars.map { |key,value| "#{key}=#{value}" }.join ' ' args = [head_arguments, default_args, tail_arguments].flatten.compact.select { |s| s.length > 0 }.join ' ' command = "#{vars} #{executable} #{args} 2>&1"