From 9986ce11727c74bec511a3c0dfd8025b8bcb43ba Mon Sep 17 00:00:00 2001 From: mxve <68632137+mxve@users.noreply.github.com> Date: Fri, 9 Jun 2023 19:30:09 +0200 Subject: [PATCH] fix iw5-mod not launching without admin --- Program.vb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Program.vb b/Program.vb index 7f2de2d..0d27d40 100644 --- a/Program.vb +++ b/Program.vb @@ -14,7 +14,8 @@ Module Program wc.DownloadFile(master & remote_path & filename, filename) End Using Console.WriteLine("Starting " & game) - Process.Start(filename) + Dim p As Process = Process.Start(filename) + p.WaitForExit() End End Sub