summaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/commandrunner.py
AgeCommit message (Collapse)Author
2021-02-05run_target: Add env kwargXavier Claessens
Re-implement it in backend using the same code path as for custom_target(). This for example handle setting PATH on Windows when command is an executable.
2020-09-08typing: fully annotate scriptsDaniel Mensinger
2019-11-17commandrunner: Forward KeyboardInterrupt to commandAlberto García Hierro
Some commands, notably gdb, use ctrl+c themselves to perform actions without exiting. Instead of making meson exit and thus, kill the subprocess, ignore the KeyboardInterrupt and continue waiting for the child.
2018-12-12Better Python exe detector. Closes #4614.Jussi Pakkanen
2018-06-01Revert "commandrunner: make run handle python options"Filipe Brandenburger
This reverts commit ab599b5733539130db5c4d17c664744f4d5aacaf.
2018-05-30commandrunner: make run handle python optionsMartin Kelly
Currently, commandrunner breaks when we give options to python because it assumes python commands are in the form "python script.py", rather than "python -u script.py" or "python -u -m module script.py". Extend it to be more resilient and correctly parse python options.
2017-12-09Check for more errors when executing subprocess. (#2746)behlec
2017-12-07Improve error handling when failing to execute program. (#2743)behlec
2017-08-18Make all functionality invokable via the main Meson binary,Jussi Pakkanen
which can be a Windows .exe file.
2017-03-28Export MESONINTROSPECT to postconf/install/run_command scriptsNirbheek Chauhan
Points to the `mesonintrospect.py` script corresponding to the currently-running version of Meson. Includes a test for all three methods of running scripts/commands. Closes https://github.com/mesonbuild/meson/issues/1385
2017-01-01style: fix E124 violationsIgor Gnatenko
E124: closing bracket does not match visual indentation Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-01style: fix E231 violationsIgor Gnatenko
E231: missing whitespace after ',' Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-31Fix space before :.Jussi Pakkanen
2016-12-18remove shebangs from scriptsIgor Gnatenko
meson.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/mesonbuild/scripts/regen_checker.py 644 /usr/bin/python3 meson.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/mesonbuild/scripts/meson_test.py 644 /usr/bin/python3 meson.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/mesonbuild/scripts/meson_benchmark.py 644 /usr/bin/python3 meson.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/mesonbuild/scripts/meson_exe.py 644 /usr/bin/python3 meson.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/mesonbuild/scripts/symbolextractor.py 644 /usr/bin/python3 meson.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/mesonbuild/scripts/commandrunner.py 644 /usr/bin/python3 meson.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/mesonbuild/scripts/gtkdochelper.py 644 /usr/bin/python3 meson.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/mesonbuild/scripts/meson_install.py 644 /usr/bin/python3 meson.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/mesonbuild/scripts/depfixer.py 644 /usr/bin/python3 meson.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/mesonbuild/scripts/dirchanger.py 644 /usr/bin/python3 meson.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/mesonbuild/scripts/delwithsuffix.py 644 /usr/bin/python3 meson.noarch: E: non-executable-script /usr/lib/python3.5/site-packages/mesonbuild/scripts/vcstagger.py 644 /usr/bin/python3 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-10-07Remove shebangs on files that are not runnable and add execute bits to those ↵Jussi Pakkanen
that are.
2016-01-16Made gtkdoc and run targets work.Jussi Pakkanen
2016-01-16Renamed meson package to mesonbuild so that we can have a script named meson ↵Jussi Pakkanen
in the same toplevel dir.