Need vte_terminal_fork_command variant that return a GError
@chpe
Submitted by Christian Persch Link to original bug (#585841)
Description
For g-t, I need a way to get a GError back when fork_command fails, so I can display a meaningful message to the user instead of the useless "There was an error creating the child process for this terminal".
Attached patch provides this; it also adds extra child setup (bug 514447). It will also make implementing bug 320128 easier.
The 2 different flags arguments aren't ideal; I tought about extending GSpawnFlags (taking the highest bits for our flags), but that probably wouldn't work well for the generated enum types nor for the bindings / introspection.
Behdad: could you take a look to see if this patch is sane?
Resolution: RESOLVED FIXED