mirror of
https://github.com/dlang/tools.git
synced 2025-04-25 20:51:00 +03:00
Merge pull request #238 from wilzbach/remove-stdc
Remove deprecated stdc import merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
This commit is contained in:
commit
bc13c57460
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 */ }
|
||||
else
|
||||
{
|
||||
import std.c.process;
|
||||
import std.process : execv;
|
||||
auto argv = args.map!toStringz.chain(null.only).array;
|
||||
return execv(argv[0], argv.ptr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue