mirror of
https://github.com/dlang/tools.git
synced 2025-04-26 21:22:22 +03:00
Remove deprecated stdc import
This commit is contained in:
parent
87c63705dc
commit
e1b90d2058
1 changed files with 1 additions and 1 deletions
2
rdmd.d
2
rdmd.d
|
@ -561,7 +561,7 @@ private int run(string[] args, string output = null, bool replace = false)
|
||||||
{ /* Windows doesn't have exec, fall back to spawnProcess+wait */ }
|
{ /* Windows doesn't have exec, fall back to spawnProcess+wait */ }
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
import std.c.process;
|
import std.process : execv;
|
||||||
auto argv = args.map!toStringz.chain(null.only).array;
|
auto argv = args.map!toStringz.chain(null.only).array;
|
||||||
return execv(argv[0], argv.ptr);
|
return execv(argv[0], argv.ptr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue