Add ability to filter out results of shutil.which
by os.stat_result.st_flags
#100827
Labels
shutil.which
by os.stat_result.st_flags
#100827
Feature or enhancement
Add ability to filter out results of https://docs.python.org/3/library/shutil.html#shutil.which by https://docs.python.org/3/library/os.html#os.stat_result.st_flags
Pitch
Basically, it is desirable to call/use a version of an installed executable that is not restricted by macOS SIP such as when modifying linker environment variables.
Previous discussion
Somewhat related #76528
The text was updated successfully, but these errors were encountered: