(
entry: list[str],
prefix: Prefix,
*,
is_local: bool,
)
| 135 | |
| 136 | |
| 137 | def _prefix_if_file_entry( |
| 138 | entry: list[str], |
| 139 | prefix: Prefix, |
| 140 | *, |
| 141 | is_local: bool, |
| 142 | ) -> Sequence[str]: |
| 143 | if entry[1] == '-e' or is_local: |
| 144 | return entry[1:] |
| 145 | else: |
| 146 | return (prefix.path(entry[1]),) |
| 147 | |
| 148 | |
| 149 | def _rscript_exec() -> str: |