Skip to content

Commit

Permalink
Merge pull request #4305 from CyberShadow/pull-20160510-183209
Browse files Browse the repository at this point in the history
std.process: Disambiguate fork call on OS X
  • Loading branch information
H. S. Teoh committed May 11, 2016
2 parents 3636733 + b7f0a17 commit eb3d9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/process.d
Original file line number Diff line number Diff line change
Expand Up @@ -3773,7 +3773,7 @@ else version (OSX)
args[2] = null;
}

auto childpid = fork();
auto childpid = core.sys.posix.unistd.fork();
if (childpid == 0)
{
core.sys.posix.unistd.execvp(args[0], cast(char**)args.ptr);
Expand Down

0 comments on commit eb3d9d2

Please sign in to comment.