After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 110648 - gdialog doesn't close on EOF
gdialog doesn't close on EOF
Status: RESOLVED WONTFIX
Product: gnome-utils
Classification: Deprecated
Component: gdialog
2.2.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-04-13 04:41 UTC by gus3
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2


Attachments
patch to add G_IO_HUP event watch on stdin (660 bytes, patch)
2003-04-13 04:42 UTC, gus3
none Details | Review

Description gus3 2003-04-13 04:41:53 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.
Comment 1 gus3 2003-04-13 04:42:46 UTC
Created attachment 15672 [details] [review]
patch to add G_IO_HUP event watch on stdin
Comment 2 Glynn Foster 2003-05-19 10:02:38 UTC
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.