Skip to content

Commit

Permalink
std.process: Disambiguate fork call on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed May 11, 2016
1 parent def01a9 commit b7f0a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/process.d
Expand Up @@ -3771,7 +3771,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 b7f0a17

Please sign in to comment.