i have exe file generated by the Compilation of C++ program now I want to pass arguments to the generated exe file through C# and save all of the output of exe file on a .txt file this is What i have done so far
public static string RunCmd(params int[] commands)
{
string returnvalue = string.Empty;
ProcessStartInf o info = new ProcessStartInf o("C:\\...\\.ex e");
info.UseShellEx ecute =...