System.Diagnostics.Process in c# and CreateProcess() in c++ which one is the best choice? -


when want start subprocess in application(c#) ,system.diagnostics.process in c# , createprocess() in c++ 1 better choice?

give parameters subprocess hide subprocess's window gead subprocess's output such logs etc.

in addition want set cpu numbers , limit memory subprocess user.

i want kill subprocesses safely(not leak memory , some) wheb user stop parent process

system.diagnostics.process good. call managed code method managed code.


Comments

Popular posts from this blog

java - How to print docx and pdf? -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

java - IntelliJ to move a class along with conflicted classes to a new package? -