IProcess.cs 458 B

12345678910111213141516171819
  1. using System;
  2. using System.IO;
  3. namespace MediaBrowser.Model.Diagnostics
  4. {
  5. public interface IProcess : IDisposable
  6. {
  7. event EventHandler Exited;
  8. void Kill();
  9. bool WaitForExit(int timeMs);
  10. int ExitCode { get; }
  11. void Start();
  12. StreamWriter StandardInput { get; }
  13. StreamReader StandardError { get; }
  14. StreamReader StandardOutput { get; }
  15. ProcessOptions StartInfo { get; }
  16. }
  17. }