2020-02-03 17:49:27 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 13:02:23 -07:00
|
|
|
namespace MediaBrowser.Model.Diagnostics
|
2018-12-27 16:27:57 -07:00
|
|
|
{
|
|
|
|
public interface IProcessFactory
|
|
|
|
{
|
|
|
|
IProcess Create(ProcessOptions options);
|
|
|
|
}
|
|
|
|
|
|
|
|
public class ProcessOptions
|
|
|
|
{
|
2019-01-06 13:50:43 -07:00
|
|
|
public string FileName { get; set; }
|
|
|
|
public string Arguments { get; set; }
|
|
|
|
public string WorkingDirectory { get; set; }
|
2018-12-27 16:27:57 -07:00
|
|
|
public bool CreateNoWindow { get; set; }
|
|
|
|
public bool UseShellExecute { get; set; }
|
|
|
|
public bool EnableRaisingEvents { get; set; }
|
|
|
|
public bool ErrorDialog { get; set; }
|
|
|
|
public bool RedirectStandardError { get; set; }
|
|
|
|
public bool RedirectStandardInput { get; set; }
|
|
|
|
public bool RedirectStandardOutput { get; set; }
|
|
|
|
public bool IsHidden { get; set; }
|
|
|
|
}
|
|
|
|
}
|