Skip to content

Add parameter to provide shell environment preservation on MacOS#25

Open
RFBrost wants to merge 9 commits into
barneygale:masterfrom
RFBrost:master
Open

Add parameter to provide shell environment preservation on MacOS#25
RFBrost wants to merge 9 commits into
barneygale:masterfrom
RFBrost:master

Conversation

@RFBrost
Copy link
Copy Markdown

@RFBrost RFBrost commented Jun 27, 2025

Added a keyword argument to optionally preserve the environment on MacOS non-graphical (i.e. sudo) relaunch as root. The keyword defaults to False, so it should not break things. Example:

elevate(graphical=False, preserve_env=True)

RFBrost added 9 commits May 14, 2025 06:40
For MacOS, documented the addition of a keyword parameter: elevate(preserve_env=True). It defaults to False so it should not break anything. When set to True, it preserves the shell environment.
Removed a non-project file name.
@fufexan fufexan mentioned this pull request Jan 8, 2026
17 tasks
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.

1 participant