title: finding whether a exe is called or not from windows service in windows 7
body: <p>i created a windows service from which i call cmd.exe
  But i dont know whether it is called or not 
  please suggest some answer </p>
  
  <pre><code>    ProcessStartInfo info = new ProcessStartInfo(@"c:\windows\system32\cmd.exe");
              info.UseShellExecute = false;
              info.RedirectStandardError = true;
              info.RedirectStandardInput = true;
              info.RedirectStandardOutput = true;
              info.CreateNoWindow = true;
              info.ErrorDialog = false;
              info.WindowStyle = ProcessWindowStyle.Hidden;
  
              Process process = Process.Start(info); 
  </code></pre>