You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
566 B
24 lines
566 B
#pragma warning disable CS1591
|
|
|
|
using System;
|
|
using System.IO;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MediaBrowser.Model.Diagnostics
|
|
{
|
|
public interface IProcess : IDisposable
|
|
{
|
|
event EventHandler Exited;
|
|
|
|
void Kill();
|
|
bool WaitForExit(int timeMs);
|
|
Task<bool> WaitForExitAsync(int timeMs);
|
|
int ExitCode { get; }
|
|
void Start();
|
|
StreamWriter StandardInput { get; }
|
|
StreamReader StandardError { get; }
|
|
StreamReader StandardOutput { get; }
|
|
ProcessOptions StartInfo { get; }
|
|
}
|
|
}
|