ant-design-blazor/site/AntDesign.Docs.Build.CLI/Extensions/ProcessExtensions.cs
2020-05-29 00:33:49 +08:00

13 lines
314 B
C#

using System.Diagnostics;
namespace AntDesign.Docs.Build.CLI.Extensions
{
public static class ProcessExtensions
{
public static void Exec(this Process process, string command)
{
if (!process.HasExited)
process.StandardInput.WriteLine(command);
}
}
}