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
Post a Comment