private void ExecCheckExe()
{
string exefile = "d:\\chktool\\checktool.exe";
if (File.Exists(exefile))
{
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo(exefile);
startInfo.UseShellExecute = false;
startInfo.RedirectStandardOutput = true;
startInfo.CreateNoWindow = true;
process.StartInfo = startInfo;
process.Start();
process.WaitForExit(2000);
string output = process.StandardOutput.ReadToEnd();
process.Close();
}
}