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:
1 parent
a5fa55e3e9
commit
c6e7e50322
3 files changed
+17
-6
No files matched your search
@@ -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