mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
22 lines
537 B
C#
22 lines
537 B
C#
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; }
|
|
}
|
|
}
|