| ... | ... | @@ -675,26 +675,17 @@ pub const ChildProcess = struct { |
| 675 | 675 | }; |
| 676 | 676 | |
| 677 | 677 | if (g_hChildStd_IN_Wr) |h| { |
| 678 | | self.stdin = File{ |
| 679 | | .handle = h, |
| 680 | | .io_mode = io.mode, |
| 681 | | }; |
| 678 | self.stdin = File{ .handle = h }; |
| 682 | 679 | } else { |
| 683 | 680 | self.stdin = null; |
| 684 | 681 | } |
| 685 | 682 | if (g_hChildStd_OUT_Rd) |h| { |
| 686 | | self.stdout = File{ |
| 687 | | .handle = h, |
| 688 | | .io_mode = io.mode, |
| 689 | | }; |
| 683 | self.stdout = File{ .handle = h }; |
| 690 | 684 | } else { |
| 691 | 685 | self.stdout = null; |
| 692 | 686 | } |
| 693 | 687 | if (g_hChildStd_ERR_Rd) |h| { |
| 694 | | self.stderr = File{ |
| 695 | | .handle = h, |
| 696 | | .io_mode = io.mode, |
| 697 | | }; |
| 688 | self.stderr = File{ .handle = h }; |
| 698 | 689 | } else { |
| 699 | 690 | self.stderr = null; |
| 700 | 691 | } |