diff options
author | bptato <nincsnevem662@gmail.com> | 2024-03-17 16:42:49 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-03-17 16:42:49 +0100 |
commit | d385d07b197cef65c2d2a800378de9152551e3e6 (patch) | |
tree | 8ce127e73de9d37a6e97410ec961e73b735f6a2c /src/server | |
parent | c383c8a51f86f805c3a7e080b5ee32522076ba15 (diff) | |
download | chawan-d385d07b197cef65c2d2a800378de9152551e3e6.tar.gz |
Move SIGCHLD ignore call to forkserver
seems like it confuses popen()
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/forkserver.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/forkserver.nim b/src/server/forkserver.nim index 5a123fcd..4a616a2e 100644 --- a/src/server/forkserver.nim +++ b/src/server/forkserver.nim @@ -179,6 +179,7 @@ proc runForkServer() = istream: newPosixStream(stdin.getFileHandle()), ostream: newPosixStream(stdout.getFileHandle()) ) + signal(SIGCHLD, SIG_IGN) while true: try: var cmd: ForkCommand |