glejeune/Ruby-Graphviz

Handle core dump gracefully

Opened this issue · 0 comments

mvz commented

If graphviz dumps core, the status returned by Open3.capture3 will return the value nil for #exitstatus. This causes a NoMethodError down the line in Graphviz::Utils#output_from_command because status is nil but errors is not empty.