aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Diagnostics/IProcessFactory.cs
blob: 2d15aed7e6c2644f5d5ddd2c3b7a306b171dca46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#nullable disable
#pragma warning disable CS1591

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; }
    }
}