mileszs/wicked_pdf · error · RuntimeError
#{command} failed (exitstatus 0). Output was: #{err}
Error message
#{command} failed (exitstatus 0). Output was: #{err} What it means
Error "#{command} failed (exitstatus 0). Output was: #{err}" thrown in mileszs/wicked_pdf.
Source
Thrown at lib/wicked_pdf/progress.rb:32
begin
PTY.spawn(command.join(' ')) do |stdout, _stdin, pid|
begin
stdout.sync
stdout.each_line("\r") do |line|
output << line.chomp
options[:progress].call(line) if options[:progress]
end
rescue Errno::EIO # rubocop:disable Lint/HandleExceptions
# child process is terminated, this is expected behaviour
ensure
::Process.wait pid
end
end
rescue PTY::ChildExited
puts 'The child process exited!'
end
err = output.join('\n')
raise "#{command} failed (exitstatus 0). Output was: #{err}" unless $CHILD_STATUS && $CHILD_STATUS.exitstatus.zero?
end
end
end
View on GitHub (pinned to bce498de54)
When it happens
Trigger: Thrown at lib/wicked_pdf/progress.rb:32 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of mileszs/wicked_pdf@bce498de54 (2026-08-23).
Data as JSON: /api/errors/bac86e42dec21216.
Report an issue: GitHub.