mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-10-06 14:35:21 +02:00
When swift-format crashes before we send all data to its stdin, we get a SIGPIPE when trying to write more data to its studio on Linux. This, in turn, takes SourceKit-LSP down. Do the same trick that we do when launching `JSONRPCConnection` of disabling SIGPIPE globally if we can’t disable it for individual pipes. rdar://147665695