mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 22:50:38 +03:00
std.process: Fix brace style
Fixes CircleCI style checks.
This commit is contained in:
parent
9a91e25bbf
commit
f5fed3d44c
1 changed files with 2 additions and 3 deletions
|
@ -574,12 +574,11 @@ private Pid spawnProcessImpl(in char[][] args,
|
||||||
assert(false);
|
assert(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (readExecResult == error.sizeof) {
|
if (readExecResult == error.sizeof)
|
||||||
throw ProcessException.newFromErrno(error, errorMsg);
|
throw ProcessException.newFromErrno(error, errorMsg);
|
||||||
} else {
|
else
|
||||||
throw new ProcessException(errorMsg);
|
throw new ProcessException(errorMsg);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Parent process: Close streams and return.
|
// Parent process: Close streams and return.
|
||||||
if (!(config & Config.retainStdin ) && stdinFD > STDERR_FILENO
|
if (!(config & Config.retainStdin ) && stdinFD > STDERR_FILENO
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue