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 633267 - non-zero exit status with non-zero use count
non-zero exit status with non-zero use count
Status: RESOLVED WONTFIX
Product: glib
Classification: Platform
Component: gapplication
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-10-27 13:30 UTC by Allison Karlitskaya (desrt)
Modified: 2012-11-06 18:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allison Karlitskaya (desrt) 2010-10-27 13:30:37 UTC
Presently, GApplication considers (for both local and primary command line handling) that a non-zero use count indicates some level of application success and then the application should run and return zero when the main loop quits.  This means that a non-zero status from commandline handlers gets ignored.

Another possibility (and perhaps one that is less confusing) is that we consider a non-zero status from a commandline handler as an indication of complete failure, ignoring the use count of the application.
Comment 1 Allison Karlitskaya (desrt) 2012-11-06 18:09:15 UTC
Too late to fix this and too little advantage to doing so.