GApplicationCommandLine should provide access to stdout/stderr
@kaiw
Submitted by Kai Willadsen Link to original bug (#724575)
Description
For binding purposes, it would be great to have: g_application_command_line_get_stdout() g_application_command_line_get_stderr()
This has a nice symmetry with the existing stdin function, and also means that languages like Python can duplicate the functionality of the varargs-based g_application_command_line_print/printerr.
Without these it's really unpleasant trying to use GApplication for a single process model. See also bug 687912 which doesn't help, meaning that in Python we have to handle everything in the primary instance, which we then can't actually report command-line errors from.
Version: 2.38.x