diff options
| author | Xavier Claessens <xavier.claessens@collabora.com> | 2023-08-02 17:05:49 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-08-03 15:42:13 -0400 |
| commit | 28e6d2be9621dcd1056d6e386576510fd9cd8860 (patch) | |
| tree | 9100d9fa99f9b783eac20947b84638aa024074e1 /mesonbuild/utils | |
| parent | cdef6741698d98453142cb2a0b65c72676dbb259 (diff) | |
| download | meson-28e6d2be9621dcd1056d6e386576510fd9cd8860.tar.gz | |
ExecutableSerialisation: capture and feed are optional strings
capture is the optional filename stdout is redirected to.
feed is the optional filename stdin reads from.
Diffstat (limited to 'mesonbuild/utils')
| -rw-r--r-- | mesonbuild/utils/core.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mesonbuild/utils/core.py b/mesonbuild/utils/core.py index eee88b94d..6e2ec6ac2 100644 --- a/mesonbuild/utils/core.py +++ b/mesonbuild/utils/core.py @@ -141,15 +141,13 @@ class EnvironmentVariables(HoldableObject): @dataclass(eq=False) class ExecutableSerialisation: - # XXX: should capture and feed default to False, instead of None? - cmd_args: T.List[str] env: T.Optional[EnvironmentVariables] = None exe_wrapper: T.Optional['programs.ExternalProgram'] = None workdir: T.Optional[str] = None extra_paths: T.Optional[T.List] = None - capture: T.Optional[bool] = None - feed: T.Optional[bool] = None + capture: T.Optional[str] = None + feed: T.Optional[str] = None tag: T.Optional[str] = None verbose: bool = False installdir_map: T.Optional[T.Dict[str, str]] = None |
