devenv: Catch FileNotFoundError

Fixes: #10310
pull/10233/head
Xavier Claessens 3 years ago committed by Jussi Pakkanen
parent 157d438835
commit 2eb730f3ac
  1. 2
      mesonbuild/mdevenv.py

@ -165,3 +165,5 @@ def run(options: argparse.Namespace) -> int:
cwd=options.wd)
except subprocess.CalledProcessError as e:
return e.returncode
except FileNotFoundError:
raise MesonException(f'Command not found: {args[0]}')

Loading…
Cancel
Save