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.
jellyfin/MediaBrowser.Model/Diagnostics/IProcess.cs

32 lines
574 B

#pragma warning disable CS1591
using System;
6 years ago
using System.IO;
using System.Threading.Tasks;
namespace MediaBrowser.Model.Diagnostics
{
public interface IProcess : IDisposable
{
event EventHandler Exited;
void Kill();
6 years ago
bool WaitForExit(int timeMs);
6 years ago
Task<bool> WaitForExitAsync(int timeMs);
6 years ago
int ExitCode { get; }
6 years ago
void Start();
6 years ago
StreamWriter StandardInput { get; }
6 years ago
StreamReader StandardError { get; }
6 years ago
StreamReader StandardOutput { get; }
6 years ago
ProcessOptions StartInfo { get; }
}
}