Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Add env to spawn #53

Merged

Conversation

markpatterson27
Copy link
Contributor

Currently when child processes are spawned, access to environment variables is very limited. This results in a number of languages being unable to run. Notably:

This PR adds the following env to child process spawning:

  • DOTNET_CLI_HOME set to /tmp
  • DOTNET_NOLOGO to suppress welcome message
  • HOME copied from parent process. This is needed for Go lang.

Copy link
Contributor

@jeffrafter jeffrafter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for this change 😍 This looks good to me and I've approved it - but I should note that I am not at GitHub and don't have the rights to merge this change moving forward. Tagging @JessRudder who is awesome and might have the power.

@octosteve octosteve requested a review from a team September 7, 2023 16:37
@ashishkeshan ashishkeshan marked this pull request as draft September 12, 2023 18:04
@ashishkeshan ashishkeshan marked this pull request as ready for review September 12, 2023 18:04
@jeffrafter
Copy link
Contributor

jeffrafter commented Sep 15, 2023

👋 @zrdaley and @ashishkeshan - you are awesome for merging so many PRs! Just wanted to confirm this is still approved in my book if that counts for anything 🎈

@zrdaley zrdaley merged commit 6808425 into github-education-resources:master Sep 18, 2023
@zrdaley zrdaley mentioned this pull request Sep 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants