[windows] Make child_process.spawn not say "TODO: IPC" when IPC isn't used

This commit is contained in:
Jarred Sumner
2024-02-05 17:39:47 -08:00
parent e366921e90
commit f722236978

View File

@@ -2196,7 +2196,7 @@ pub const Subprocess = struct {
}
}
if (args.get(globalThis, "ipc")) |val| {
if (args.getTruthy(globalThis, "ipc")) |val| {
if (Environment.isWindows) {
globalThis.throwTODO("TODO: IPC is not yet supported on Windows");
return .zero;