Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jun 18, 2024

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

rdar://128016626

@ahoppen ahoppen requested review from bnbarham and hamishknight June 18, 2024 16:22
@ahoppen ahoppen requested a review from benlangmuir as a code owner June 18, 2024 16:22
@ahoppen
Copy link
Member Author

ahoppen commented Jun 18, 2024

@swift-ci Please test

…set it using `sh`

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

rdar://128016626
@ahoppen ahoppen force-pushed the working-directory-on-amazonlinux branch from 73b57bd to df08551 Compare June 18, 2024 22:13
@ahoppen
Copy link
Member Author

ahoppen commented Jun 18, 2024

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Jun 18, 2024

@swift-ci Please test Windows

1 similar comment
@ahoppen
Copy link
Member Author

ahoppen commented Jun 20, 2024

@swift-ci Please test Windows

@ahoppen ahoppen merged commit a111b47 into swiftlang:main Jun 20, 2024
3 checks passed
@ahoppen ahoppen deleted the working-directory-on-amazonlinux branch June 20, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants