rdt-client/server/RdtClient.Service/Wrappers/IProcess.cs
2026-02-11 19:44:49 -07:00

15 lines
394 B
C#

using System.Diagnostics;
namespace RdtClient.Service.Wrappers;
public interface IProcess : IDisposable
{
public ProcessStartInfo StartInfo { get; set; }
event EventHandler<String?>? OutputDataReceived;
event EventHandler<String?>? ErrorDataReceived;
void BeginOutputReadLine();
void BeginErrorReadLine();
Boolean WaitForExit(Int32 milliseconds);
void Start();
}