Skip to content

Commit cb9a3ac

Browse files
committed
fix typo: posix_action -> posix_actions
1 parent fa01518 commit cb9a3ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/std/child_process.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub const ChildProcess = struct {
6161
/// Do not set spawn attribute flags and do not modify stdin, stdout, stderr
6262
/// behavior, because those are set in the platform-specific spawn method.
6363
posix_attr: if (builtin.target.isDarwin()) ?os.posix_spawn.Attr else void,
64-
posix_action: if (builtin.target.isDarwin()) ?os.posix_spawn.Actions else void,
64+
posix_actions: if (builtin.target.isDarwin()) ?os.posix_spawn.Actions else void,
6565

6666
/// Darwin-only. Disable ASLR for the child process.
6767
disable_aslr: bool = false,
@@ -138,7 +138,7 @@ pub const ChildProcess = struct {
138138
.stderr_behavior = StdIo.Inherit,
139139
.expand_arg0 = .no_expand,
140140
.posix_attr = if (comptime builtin.target.isDarwin()) null else undefined,
141-
.posix_action = if (comptime builtin.target.isDarwin()) null else undefined,
141+
.posix_actions = if (comptime builtin.target.isDarwin()) null else undefined,
142142
};
143143
}
144144

0 commit comments

Comments
 (0)