From 5215184bfcb4fcc3db59efc57407d4ecb1393483 Mon Sep 17 00:00:00 2001 From: nojaf Date: Sun, 25 Feb 2024 14:28:23 +0100 Subject: [PATCH] Don't wait indefinitely to build plugin. --- src/Fable.Compiler/Util.fs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Fable.Compiler/Util.fs b/src/Fable.Compiler/Util.fs index 113fa27f1d..3c393d6bc9 100644 --- a/src/Fable.Compiler/Util.fs +++ b/src/Fable.Compiler/Util.fs @@ -460,7 +460,9 @@ module Process = let runSyncWithOutput workingDir exePath args = let p = startProcess true [] workingDir exePath args - p.WaitForExit() + // Don't wait indefinitely to run process + // This call is used to build local plugins, if the binary is used by another process this process will never end. + p.WaitForExit 7000 |> ignore p.StandardOutput.ReadToEnd() []