private static ProcessStartInfo CreateProcessStartInfo(string command, string arguments)
{
var processInfo = new ProcessStartInfo(command, arguments)
{
RedirectStandardError = true,
RedirectStandardOutput = true,
UseShellExecute = false,
WindowStyle = ProcessWindowStyle.Hidden,
CreateNoWindow = true
};
return processInfo;
}
}