Ruby-Graphviz
Ruby-Graphviz copied to clipboard
Handle core dump gracefully
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.