diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2022-04-25 12:08:56 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-04-30 11:47:25 +0300 |
commit | 2eb730f3ac3fd1b14646671a12495d741cddba4d (patch) | |
tree | cfb0277aec4e397e05d5bd723d08cbb74ed37848 /mesonbuild/mdevenv.py | |
parent | 157d43883515507f42618b065a64fb26501734a0 (diff) | |
download | meson-2eb730f3ac3fd1b14646671a12495d741cddba4d.zip meson-2eb730f3ac3fd1b14646671a12495d741cddba4d.tar.gz meson-2eb730f3ac3fd1b14646671a12495d741cddba4d.tar.bz2 |
devenv: Catch FileNotFoundError
Fixes: #10310
Diffstat (limited to 'mesonbuild/mdevenv.py')
-rw-r--r-- | mesonbuild/mdevenv.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/mdevenv.py b/mesonbuild/mdevenv.py index 6268c1d..8ea50d5 100644 --- a/mesonbuild/mdevenv.py +++ b/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]}') |