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

Export NO_SUDO so it's available for use in launched processes #472

Merged
merged 1 commit into from Jan 15, 2024

Conversation

Belchy06
Copy link
Collaborator

Relevant components:

  • Signalling server
  • Frontend library
  • Frontend UI library
  • Matchmaker
  • Platform scripts
  • SFU

Problem statement:

When launching the platform script on Mac, it always tries to launch the npm process with sudo, even if you pass --nosudo on the command line.

Solution

By exporting the NO_SUDO variable, the npm process use it's value when determining whether to launch cirrus with sudo or not.

Copy link
Contributor

@lukehb lukehb left a comment

Choose a reason for hiding this comment

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

lgtm

@Belchy06 Belchy06 merged commit 6d59c44 into EpicGames:master Jan 15, 2024
cheikhnadiouf pushed a commit to cheikhnadiouf/PixelStreamingInfrastructure that referenced this pull request Feb 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants