diff --git a/Program.cs b/Program.cs index 1115a74..397add1 100644 --- a/Program.cs +++ b/Program.cs @@ -56,6 +56,7 @@ routeServer.Add("/",async(ctx)=>{ { p.StandardInput.Write(json); p.StandardInput.Flush(); + p.StandardInput.Close(); if(!p.HasExited) p.WaitForExit(); int statusCode=p.ExitCode; switch(statusCode)