This commit is contained in:
Mike Nolan 2024-03-13 00:27:48 -05:00
parent 23e6bcf395
commit 69d36dc205
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ routeServer.Add("/",async(ctx)=>{
{ {
p.StandardInput.Write(json); p.StandardInput.Write(json);
p.StandardInput.Flush(); p.StandardInput.Flush();
p.StandardInput.Close();
if(!p.HasExited) p.WaitForExit(); if(!p.HasExited) p.WaitForExit();
int statusCode=p.ExitCode; int statusCode=p.ExitCode;
switch(statusCode) switch(statusCode)