Skip to content

Commit 78c859d

Browse files
omajidmairaw
authored andcommitted
ProcessStartInfo.CreateNoWindow does not work on Unix-like platforms (dotnet#33)
See https://github.com/dotnet/corefx/issues/26337 and https://github.com/dotnet/corefx/issues/28182.
1 parent 77eb83e commit 78c859d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

xml/System.Diagnostics/ProcessStartInfo.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@
306306
307307
## Remarks
308308
If the <xref:System.Diagnostics.ProcessStartInfo.UseShellExecute%2A> property is `true` or the <xref:System.Diagnostics.ProcessStartInfo.UserName%2A> and <xref:System.Diagnostics.ProcessStartInfo.Password%2A> properties are not `null`, the <xref:System.Diagnostics.ProcessStartInfo.CreateNoWindow%2A> property value is ignored and a new window is created.
309+
310+
.NET Core does not support creating windows directly on Unix-like platforms, including macOS and Linux. This property is ignored on such platforms.
309311
310312
311313
@@ -1498,4 +1500,4 @@ p.WaitForExit();
14981500
</Docs>
14991501
</Member>
15001502
</Members>
1501-
</Type>
1503+
</Type>

0 commit comments

Comments
 (0)