Is it possible to force the value retured by g_application_run()?

Sometimes I want to abnormally terminate the application while it is running. Can I force the exit code returned by g_application_run()?

With the stock GApplication, only by setting the exit status on the command line object while handling the “command-line” signal

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.