Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions SystemInterface/Diagnostics/IProcessStartInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ public interface IProcessStartInfo
/// </summary>
bool UseShellExecute { get; set; }

/// <summary>
/// Gets or sets a value indicating whether to start the process in a new window
/// </summary>
bool CreateNoWindow { get; set; }

/// <summary>
/// Gets or sets a value that indicates whether the output of an application is written to
/// the <see cref="IProcess.StandardOutput"/> stream.
Expand Down
9 changes: 8 additions & 1 deletion SystemWrapper/Diagnostics/ProcessStartInfoWrap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ public bool UseShellExecute
set { ProcessStartInfoInstance.UseShellExecute = value; }
}

/// <inheritdoc />
public bool CreateNoWindow
{
get { return ProcessStartInfoInstance.CreateNoWindow; }
set { ProcessStartInfoInstance.CreateNoWindow = value; }
}

/// <inheritdoc />
public bool RedirectStandardOutput
{
Expand All @@ -117,4 +124,4 @@ public string WorkingDirectory
set { ProcessStartInfoInstance.WorkingDirectory = value; }
}
}
}
}