diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs index 291b2909af8..4d2a234de07 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs @@ -1160,7 +1160,7 @@ public static void Restart() sb.Append(arguments[arguments.Length - 1]); sb.Append('"'); } - ProcessStartInfo currentStartInfo = Process.GetCurrentProcess().StartInfo; + ProcessStartInfo currentStartInfo = new ProcessStartInfo(); currentStartInfo.FileName = ExecutablePath; if (sb.Length > 0) {