lib/mojo_magick.rb in mojo_magick-0.4.1 vs lib/mojo_magick.rb in mojo_magick-0.4.2
- old
+ new
@@ -67,10 +67,9 @@
def MojoMagick::raw_command(command, args, options = {})
# this suppress error messages to the console
err_pipe = windows? ? "2>nul" : "2>/dev/null"
begin
execute = "#{command} #{get_limits_as_params} #{args} #{err_pipe}"
- puts execute
retval = `#{execute}`
# guarantee that only MojoError exceptions are raised here
rescue Exception => e
raise MojoError, "#{e.class}: #{e.message}"
end