From b5db7d333c64ffb79b150f69b3ec0f37054e9e8d Mon Sep 17 00:00:00 2001 From: Boris Carvajal Date: Mon, 22 Feb 2021 05:45:10 -0300 Subject: [PATCH] import std.process.Config properly --- source/eventcore/drivers/posix/processes.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/eventcore/drivers/posix/processes.d b/source/eventcore/drivers/posix/processes.d index 0456939..3b1625f 100644 --- a/source/eventcore/drivers/posix/processes.d +++ b/source/eventcore/drivers/posix/processes.d @@ -64,7 +64,7 @@ final class PosixEventDriverProcesses(Loop : PosixEventLoop) : EventDriverProces string working_dir) @trusted { // Use std.process to spawn processes - import std.process : pipe, Pid, spawnProcess; + import std.process : pipe, Pid, spawnProcess, StdProcessConfig = Config; import std.stdio : File; static import std.stdio; @@ -141,7 +141,7 @@ final class PosixEventDriverProcesses(Loop : PosixEventLoop) : EventDriverProces stdoutFile, stderrFile, env, - cast(std.process.Config)config, + cast(StdProcessConfig)config, working_dir); process.pid = adopt(stdPid.osHandle); stdPid.destroy();