Run a command with array args to avoid shell interpolation for host/container paths.
( command: string, args: string[], timeoutMs = 30000, abortSignal?: AbortSignal )
| 144 | |
| 145 | /** Run a command with array args to avoid shell interpolation for host/container paths. */ |
| 146 | function runSpawnCommand( |
| 147 | command: string, |
| 148 | args: string[], |
| 149 | timeoutMs = 30000, |
| 150 | abortSignal?: AbortSignal |
| 151 | ): Promise<DockerCommandResult> { |
| 152 | return runCommand(command, args, { timeoutMs, abortSignal }); |
| 153 | } |
| 154 | |
| 155 | /** |
| 156 | * Build Docker args for credential sharing. |
no test coverage detected