export declare function isWindowsCommandScript(executablePath: string): boolean; /** * When spawning with `shell: true` on Windows, the command is passed to * `cmd.exe /d /s /c "command args"`. The `/s` strips outer quotes, so a * command path with spaces (e.g. `C:\Program Files\...`) is split at the * space. Wrapping it in quotes produces the correct `"C:\Program Files\..." args`. */ export declare function quoteWindowsCommand(command: string): string; /** * `spawn(..., { shell: true })` on Windows also passes argv through `cmd.exe`. * Any argument containing spaces must be quoted or it will be split before the * child process sees it. */ export declare function quoteWindowsArgument(argument: string): string; //# sourceMappingURL=windows-command.d.ts.map