Skip to content

Commit 75ff619

Browse files
committed
No window for powershell
1 parent 0e04d85 commit 75ff619

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Notification.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public static void Popup(string title, string text)
1818
var start = new ProcessStartInfo("powershell.exe")
1919
{
2020
UseShellExecute = false,
21+
CreateNoWindow = true,
2122
Arguments = script
2223
};
2324
Process.Start(start);
@@ -30,6 +31,7 @@ public static void SsPopup(string location)
3031
var start = new ProcessStartInfo("powershell.exe")
3132
{
3233
UseShellExecute = false,
34+
CreateNoWindow = true,
3335
Arguments = scriptArgs
3436
};
3537
Process.Start(start);

0 commit comments

Comments
 (0)