diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-08 21:57:26 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-08 22:05:39 +0200 |
commit | 1f4244db0390c9482a86ef207d42b5e55f03fe7b (patch) | |
tree | 2aca6a3dcacabe73ba64a872a582363ba77bcedc /tterm.c | |
parent | d4724fab08656e18c7a8570febc094afbfa814d3 (diff) | |
download | tterm-1f4244db0390c9482a86ef207d42b5e55f03fe7b.tar.gz |
Use vfork instead of fork
Diffstat (limited to 'tterm.c')
-rw-r--r-- | tterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -97,7 +97,7 @@ main(int argc, char *argv[]) if (pidatom == None) die("no _NET_WM_PID atom found\n"); /* start terminal */ - if ((child = fork()) == 0) { + if ((child = vfork()) == 0) { execlp(ARGV, NULL); err(1, "execvp"); } |