swiftlang / sourcekit-lsp

Language Server Protocol implementation for Swift and C-based languages
Apache License 2.0
3.2k stars 264 forks source link

When setting a working directory on process launch is not supported, set it using `sh` #1485

Closed ahoppen closed 2 weeks ago

ahoppen commented 2 weeks ago

In particular, this affects Amazon Linux 2, which has a glibc that doesn’t support posix_spawn_file_actions_addchdir_np.

rdar://128016626

ahoppen commented 2 weeks ago

@swift-ci Please test

ahoppen commented 2 weeks ago

@swift-ci Please test

ahoppen commented 2 weeks ago

@swift-ci Please test Windows

ahoppen commented 2 weeks ago

@swift-ci Please test Windows