This file contains 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
public static int ExecuteProcess( | |
string fileName, | |
string arguments, | |
int timeout, | |
out string standardOutput, | |
out string standardError) | |
{ | |
int exitCode; | |
var standardOutputBuilder = new StringBuilder(); |
This file contains 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; | |
using System.IO; | |
using System.Threading.Tasks; | |
class App | |
{ | |
public static int ExecuteProcess( | |
string fileName, | |
string arguments, |