glejeune / Ruby-Graphviz

[MIRROR] Ruby interface to the GraphViz graphing tool
https://gitlab.com/glejeune/ruby-graphviz
Other
608 stars 116 forks source link

Handle core dump gracefully #125

Open mvz opened 7 years ago

mvz commented 7 years ago

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.