Is there a way to call an executable other than by process?
I need something that does not use the code below to call an executable because when I end a process from an application that is not native to Windows, I can not call it again with the command:
foreach (Process pr in Process.GetProcessesByName(nomeExecutavel))
{
if (!pr.HasExited)
pr.Start();
}
Note: It is an Application console in C #