diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/spack/spack/operating_systems/windows_os.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/operating_systems/windows_os.py b/lib/spack/spack/operating_systems/windows_os.py index 47929ba61d..02d45fd8d2 100755 --- a/lib/spack/spack/operating_systems/windows_os.py +++ b/lib/spack/spack/operating_systems/windows_os.py @@ -37,8 +37,8 @@ class WindowsOs(OperatingSystem): extra_args = {} if sys.version_info[:3] >= (3, 6, 0): extra_args = {"encoding": "mbcs", "errors": "strict"} - paths = subprocess.check_output( - [ # type: ignore[call-overload] # novermin + paths = subprocess.check_output( # type: ignore[call-overload] # novermin + [ os.path.join(root, "Microsoft Visual Studio", "Installer", "vswhere.exe"), "-prerelease", "-requires", |