|
|
|
@ -510,8 +510,8 @@ class Backend: |
|
|
|
|
self, cmd: T.Sequence[T.Union[programs.ExternalProgram, build.BuildTarget, build.CustomTarget, File, str]], |
|
|
|
|
workdir: T.Optional[str] = None, |
|
|
|
|
extra_bdeps: T.Optional[T.List[build.BuildTarget]] = None, |
|
|
|
|
capture: T.Optional[bool] = None, |
|
|
|
|
feed: T.Optional[bool] = None, |
|
|
|
|
capture: T.Optional[str] = None, |
|
|
|
|
feed: T.Optional[str] = None, |
|
|
|
|
env: T.Optional[mesonlib.EnvironmentVariables] = None, |
|
|
|
|
tag: T.Optional[str] = None, |
|
|
|
|
verbose: bool = False, |
|
|
|
@ -582,8 +582,8 @@ class Backend: |
|
|
|
|
cmd_args: T.Sequence[T.Union[str, mesonlib.File, build.BuildTarget, build.CustomTarget, programs.ExternalProgram]], |
|
|
|
|
workdir: T.Optional[str] = None, |
|
|
|
|
extra_bdeps: T.Optional[T.List[build.BuildTarget]] = None, |
|
|
|
|
capture: T.Optional[bool] = None, |
|
|
|
|
feed: T.Optional[bool] = None, |
|
|
|
|
capture: T.Optional[str] = None, |
|
|
|
|
feed: T.Optional[str] = None, |
|
|
|
|
force_serialize: bool = False, |
|
|
|
|
env: T.Optional[mesonlib.EnvironmentVariables] = None, |
|
|
|
|
verbose: bool = False) -> T.Tuple[T.Sequence[T.Union[str, File, build.Target, programs.ExternalProgram]], str]: |
|
|
|
@ -638,9 +638,9 @@ class Backend: |
|
|
|
|
return es.cmd_args, '' |
|
|
|
|
args: T.List[str] = [] |
|
|
|
|
if capture: |
|
|
|
|
args += ['--capture', str(capture)] |
|
|
|
|
args += ['--capture', capture] |
|
|
|
|
if feed: |
|
|
|
|
args += ['--feed', str(feed)] |
|
|
|
|
args += ['--feed', feed] |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
self.environment.get_build_command() + ['--internal', 'exe'] + args + ['--'] + es.cmd_args, |
|
|
|
|