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.
|
|
|
#pragma warning disable CS1591
|
|
|
|
#pragma warning disable SA1600
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Diagnostics
|
|
|
|
{
|
|
|
|
public interface IProcessFactory
|
|
|
|
{
|
|
|
|
IProcess Create(ProcessOptions options);
|
|
|
|
}
|
|
|
|
|
|
|
|
public class ProcessOptions
|
|
|
|
{
|
|
|
|
public string FileName { get; set; }
|
|
|
|
public string Arguments { get; set; }
|
|
|
|
public string WorkingDirectory { get; set; }
|
|
|
|
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; }
|
|
|
|
}
|
|
|
|
}
|