-
Notifications
You must be signed in to change notification settings - Fork 5.6k
How salt cmd.run Works with OS ENV? #19776
Copy link
Copy link
Closed
Labels
Corerelates to code central or existential to Saltrelates to code central or existential to Saltbugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorpending-discussionThe issue or pull request needs more discussion before it can be closed or mergedThe issue or pull request needs more discussion before it can be closed or mergedstale
Milestone
Metadata
Metadata
Assignees
Labels
Corerelates to code central or existential to Saltrelates to code central or existential to Saltbugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorpending-discussionThe issue or pull request needs more discussion before it can be closed or mergedThe issue or pull request needs more discussion before it can be closed or mergedstale
Type
Fields
Give feedbackNo fields configured for issues without a type.
As I see in the source-code, salt cmd.run seems using python subprocess to run a shell cmd, but I strangely find that:
How to set os env var in salt cmd.run?
help~~~