diff --git a/SystemInterface/Diagnostics/IProcessStartInfo.cs b/SystemInterface/Diagnostics/IProcessStartInfo.cs index 69bb1e7..70606e6 100644 --- a/SystemInterface/Diagnostics/IProcessStartInfo.cs +++ b/SystemInterface/Diagnostics/IProcessStartInfo.cs @@ -50,6 +50,11 @@ public interface IProcessStartInfo /// bool UseShellExecute { get; set; } + /// + /// Gets or sets a value indicating whether to start the process in a new window + /// + bool CreateNoWindow { get; set; } + /// /// Gets or sets a value that indicates whether the output of an application is written to /// the stream. diff --git a/SystemWrapper/Diagnostics/ProcessStartInfoWrap.cs b/SystemWrapper/Diagnostics/ProcessStartInfoWrap.cs index 6eb3fb0..81a1532 100644 --- a/SystemWrapper/Diagnostics/ProcessStartInfoWrap.cs +++ b/SystemWrapper/Diagnostics/ProcessStartInfoWrap.cs @@ -103,6 +103,13 @@ public bool UseShellExecute set { ProcessStartInfoInstance.UseShellExecute = value; } } + /// + public bool CreateNoWindow + { + get { return ProcessStartInfoInstance.CreateNoWindow; } + set { ProcessStartInfoInstance.CreateNoWindow = value; } + } + /// public bool RedirectStandardOutput { @@ -117,4 +124,4 @@ public string WorkingDirectory set { ProcessStartInfoInstance.WorkingDirectory = value; } } } -} \ No newline at end of file +}