This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Diagnostics; | |
| public static class ShellHelper | |
| { | |
| public static string Bash(this string cmd) | |
| { | |
| var escapedArgs = cmd.Replace("\"", "\\\""); | |
| var process = new Process() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| win.SetPosition(WindowPosition.CenterAlways); |