mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 02:49:05 -07:00
20 lines
458 B
C#
20 lines
458 B
C#
using System;
|
|
using System.IO;
|
|
|
|
namespace MediaBrowser.Model.Diagnostics
|
|
{
|
|
public interface IProcess : IDisposable
|
|
{
|
|
event EventHandler Exited;
|
|
|
|
void Kill();
|
|
bool WaitForExit(int timeMs);
|
|
int ExitCode { get; }
|
|
void Start();
|
|
StreamWriter StandardInput { get; }
|
|
StreamReader StandardError { get; }
|
|
StreamReader StandardOutput { get; }
|
|
ProcessOptions StartInfo { get; }
|
|
}
|
|
}
|