csharp
public interface IRealmProcessHandleA realm process, as its launcher can see it.
Remarks
Deliberately smaller than System.Diagnostics.Process: an identity, the two ends of stdio, an exit, and a way to end it. Everything ProcessPlacement does is expressed against this, which is what lets its tests run a fleet with no processes in it.
Fields and properties (3)
string IdSomething an operator can act on — a pid, or whatever stood in for one.
bool HasExitedWhether it has gone.
int ExitCodeWhat it exited with, once HasExited is true.
Events (1)
Action<string>? OutputLineEvery line the process wrote to stdout, as it writes them.
Methods (3)
bool WriteLine(string line)Says a line to the process's stdin.
void Kill()Ends it, now.
Task WaitForExitAsync(CancellationToken cancellation)Waits for it to exit.
Used by (7)
- FakeProcessVixen.Live.Placement.Process.Tests
- FakeProcessHostVixen.Live.Placement.Process.Tests
- HandleVixen.Live.Placement.Process
- IRealmProcessHostVixen.Live.Placement.Process
- ProcessPlacementVixen.Live.Placement.Process
- RunningVixen.Live.Placement.Process
- SystemProcessHostVixen.Live.Placement.Process