Given multiple executables with the same name in PATH, Subprocess.run selects an arbitrary one. I stumbled upon that with Swiftly picking either Xcode's swift or the one it installed itself. You can ...