BTW I started working on this after these comments, but I didn't get it working. I tried using `g_strescape` but the `system` call then failed.

Note that the first commit here is needed even if we get GLib async spawning working.