net11.0
namespace System.Diagnostics
{
    [Designer("System.Diagnostics.Design.ProcessDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    public class Process : Component, IDisposable
    {
        [SupportedOSPlatform("maccatalyst")]
        [UnsupportedOSPlatform("ios")]
        [UnsupportedOSPlatform("tvos")]
        public static ProcessTextOutput! RunAndCaptureText(string! fileName, IList<string!>? arguments = null, TimeSpan? timeout = default);
    }
}
.NET
11.0
Information specific to net11.0
Assembly

System.Diagnostics.Process , Version=11.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Preview The API is contained in a preview framework.
Platform Restrictions

This API is supported on any platform except for these:

  • iOS
  • tvOS
  • Built-in API
  • Package-provided API