GNOME Bugzilla – Bug 110648
gdialog doesn't close on EOF
Last modified: 2004-12-22 21:47:04 UTC
Using the example from the on-line documentation: ( echo "10" ; sleep 1 echo "20" ; sleep 1 echo "50" ; sleep 1 echo "75" ; sleep 1 echo "100" ; sleep 1 ) | gdialog --title "GAUGE" --gauge "This is a gauge widget" 10 10 0 When the subshell exits, gdialog does not close. This contradicts gdialog(1), and doesn't make much sense anyway. I have a patch to fix this, at least with piped input as above. I am unable to find a fix yet for direct shell-based (keyboard) input.
Created attachment 15672 [details] [review] patch to add G_IO_HUP event watch on stdin
I am no longer interested in maintaining gdialog - I've written a new version called zenity which i hope will replace it. it'll have a compatibility wrapper script, so your commandlines won't be broken. You should check it out.