(input: {
readonly command: string;
readonly cwd?: string | undefined;
readonly spawnCwd?: string | undefined;
})
| 51 | }; |
| 52 | |
| 53 | const formatProcessInvocation = (input: { |
| 54 | readonly command: string; |
| 55 | readonly cwd?: string | undefined; |
| 56 | readonly spawnCwd?: string | undefined; |
| 57 | }): string => { |
| 58 | const executionCwd = input.spawnCwd ?? input.cwd; |
| 59 | return executionCwd === undefined |
| 60 | ? `'${input.command}'` |
| 61 | : `'${input.command}' in '${executionCwd}'`; |
| 62 | }; |
| 63 | |
| 64 | export class ProcessSpawnError extends Schema.TaggedErrorClass<ProcessSpawnError>()( |
| 65 | "ProcessSpawnError", |