mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 05:30:33 +03:00
Cleanup temp files in libphobos unittest at src/std/process.d
This commit is contained in:
parent
32cfe9b615
commit
63f4caa900
1 changed files with 1 additions and 0 deletions
|
@ -2581,6 +2581,7 @@ private auto executeImpl(alias pipeFunc, Cmd, ExtraPipeFuncArgs...)(
|
|||
|
||||
ReturnType!executeShell r;
|
||||
auto tmpname = uniqueTempPath;
|
||||
scope(exit) if (exists(tmpname)) remove(tmpname);
|
||||
auto t = stderr;
|
||||
// Open a new scope to minimize code ran with stderr redirected.
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue