diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-10-15 21:38:01 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-10-15 21:38:01 -0400 |
| commit | 49bc33efe194dd20ce12b7db3f78ed4359492ff2 (patch) | |
| tree | 740b3dc4ebd4099cf1ba421c35a31af6a36be843 /std | |
| parent | d5648d264031f21413824ec5fc90b4ba6e463355 (diff) | |
| download | zig-49bc33efe194dd20ce12b7db3f78ed4359492ff2.tar.gz zig-49bc33efe194dd20ce12b7db3f78ed4359492ff2.zip | |
fix windows
Diffstat (limited to 'std')
| -rw-r--r-- | std/os/child_process.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/os/child_process.zig b/std/os/child_process.zig index 53aa46ae7f..4eb0b74fb1 100644 --- a/std/os/child_process.zig +++ b/std/os/child_process.zig @@ -463,7 +463,7 @@ pub const ChildProcess = struct.{ var g_hChildStd_IN_Wr: ?windows.HANDLE = null; switch (self.stdin_behavior) { StdIo.Pipe => { - try windowsMakePipeIn(&g_hChildStd_IN_Rd, &g_hChildStd_IN_Wr, saAttr); + try windowsMakePipeIn(&g_hChildStd_IN_Rd, &g_hChildStd_IN_Wr, &saAttr); }, StdIo.Ignore => { g_hChildStd_IN_Rd = nul_handle; @@ -483,7 +483,7 @@ pub const ChildProcess = struct.{ var g_hChildStd_OUT_Wr: ?windows.HANDLE = null; switch (self.stdout_behavior) { StdIo.Pipe => { - try windowsMakePipeOut(&g_hChildStd_OUT_Rd, &g_hChildStd_OUT_Wr, saAttr); + try windowsMakePipeOut(&g_hChildStd_OUT_Rd, &g_hChildStd_OUT_Wr, &saAttr); }, StdIo.Ignore => { g_hChildStd_OUT_Wr = nul_handle; @@ -503,7 +503,7 @@ pub const ChildProcess = struct.{ var g_hChildStd_ERR_Wr: ?windows.HANDLE = null; switch (self.stderr_behavior) { StdIo.Pipe => { - try windowsMakePipeOut(&g_hChildStd_ERR_Rd, &g_hChildStd_ERR_Wr, saAttr); + try windowsMakePipeOut(&g_hChildStd_ERR_Rd, &g_hChildStd_ERR_Wr, &saAttr); }, StdIo.Ignore => { g_hChildStd_ERR_Wr = nul_handle; |
