term: term_spawn_new(): new function, spawns a new foot/footclient process

Bind ctrl+shift+return to it
This commit is contained in:
Daniel Eklöf 2019-12-21 15:27:17 +01:00
parent 2a95f2949b
commit 57de9feaa5
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 80 additions and 5 deletions

View file

@ -64,6 +64,7 @@ err:
close(pts);
if (ptmx != -1)
close(ptmx);
close(err_fd);
_exit(errno);
}