Skip to content

Adding EnvVars to sys.exec for fun#906

Merged
Cictrone merged 1 commit intomainfrom
exec_env
Apr 21, 2025
Merged

Adding EnvVars to sys.exec for fun#906
Cictrone merged 1 commit intomainfrom
exec_env

Conversation

@Cictrone
Copy link
Copy Markdown
Collaborator

/kind feature

/kind api-change
/kind eldritch-function

What this PR does / why we need it:

Put it as the last arg to avoid breaking any current tomes using disown positionally

@Cictrone Cictrone requested a review from hulto April 21, 2025 04:28
@Cictrone Cictrone merged commit 3b67e63 into main Apr 21, 2025
4 checks passed
@Cictrone Cictrone deleted the exec_env branch April 21, 2025 05:04
### sys.exec

`sys.exec(path: str, args: List<str>, disown: Optional<bool>) -> Dict`
`sys.exec(path: str, args: List<str>, disown: Optional<bool>, env_vars: Option<Dict<str, str>>) -> Dict`
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please make optional instead of option

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