Renamed Create to Start to match Process.Start and added a Start function to accept and existing process instead of having a new one be created. Bumped package version to 1.0.2
This commit is contained in:
@ -15,7 +15,7 @@ namespace MontoyaTech.Process.Net.Example
|
||||
RedirectStandardInput = true,
|
||||
};
|
||||
|
||||
var process = WinProcess.Create(startInfo, creationFlags: WinProcess.CreationFlags.CREATE_NEW_CONSOLE);
|
||||
var process = WinProcess.Start(startInfo, creationFlags: WinProcess.CreationFlags.CREATE_NEW_CONSOLE);
|
||||
|
||||
process.StandardInput.WriteLine("This is a test");
|
||||
process.StandardInput.WriteLine("Does this work?");
|
||||
|
Reference in New Issue
Block a user