GNOME Bugzilla – Bug 672649
vte_terminal_fork_command_full unusable
Last modified: 2020-04-27 20:20:02 UTC
vte_terminal_fork_command_full() is unusable with a custom child setup function, since there's no way to pass the VtePty to it, but that's required since calling vte_pty_child_setup() is mandatory in custom child setup functions. For 1.0 we can just break API, but until then another solution is needed. Perhaps use one of the free bits in GSpawnFlags for a vte flag that makes __vte_pty_spawn() put the VtePty* into the passed child_setup_data at offset 0 ?
Fixed on vte-0-32 and vte-next by making vte_pty_child_setup() just call the provided extra child setup function. Leaving open however as reminder to try and improve this API.