@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
9 lines • 664 B
TypeScript
/**
* One Windows command line from an argv, for `CreateProcessW` (senpi#3566, plan todo 4: the breakaway shim). Windows
* passes a single string; the program's C runtime splits it back with the MSVC rules, so each argument is quoted such
* that the split returns it unchanged: spaces, tabs and quotes force quoting, a quote is escaped as `\"`, and
* backslashes are doubled only when they precede a quote (inside the argument or before the closing quote).
*/
export declare function quoteWindowsArgument(argument: string): string;
export declare function windowsCommandLine(argv: readonly string[]): string;
//# sourceMappingURL=windows-command-line.d.ts.map