# HG changeset patch # User Ben Abbott # Date 1329527344 18000 # Node ID 688e19ca262ba9560b1e1ab86ba7457bd11e2471 # Parent 81183cd6eaae7589dae484dcab73eb3fd84474df Clear zombie processes produced by calling print() using the fltk toolkit. Fix bug # 34595. * print.m: Add waitpid(0) following output by OpenGL/fltk toolkit. diff -r 81183cd6eaae -r 688e19ca262b scripts/plot/print.m --- a/scripts/plot/print.m Fri Feb 17 11:40:27 2012 -0800 +++ b/scripts/plot/print.m Fri Feb 17 20:09:04 2012 -0500 @@ -393,6 +393,10 @@ opts = __gnuplot_print__ (opts); otherwise opts = __fltk_print__ (opts); + if (isunix ()) + ## FIXME - Is there a way to explicitly determine the pid numbers? + waitpid (0); + endif endswitch unwind_protect_cleanup