Method
execute_args
(
self,
python_args=(), # type: Sequence[str]
additional_args=(), # type: Sequence[str]
)
Source from the content-addressed store, hash-verified
| 491 | object.__setattr__(self, "python", self.bin_file("python")) |
| 492 | |
| 493 | def execute_args( |
| 494 | self, |
| 495 | python_args=(), # type: Sequence[str] |
| 496 | additional_args=(), # type: Sequence[str] |
| 497 | ): |
| 498 | # type: (...) -> List[str] |
| 499 | argv = [self.python] |
| 500 | argv.extend(python_args) |
| 501 | if self.hermetic_script_args: |
| 502 | argv.append(self.hermetic_script_args) |
| 503 | argv.append(self.pex) |
| 504 | argv.extend(additional_args) |
| 505 | return argv |
| 506 | |
| 507 | def execv( |
| 508 | self, |
Tested by
no test coverage detected