async spawn problem
(From conversation on IRC, filed as a reminder and for discussion.)
There is a problem with vte_pty_spawn_async(), which uses a thread around the sync variant. That makes the forked child's parent this thread, not thread 0; and you can't use prctl(PR_SET_PDEATHSIG) from without vte.