Process
-
hello, how can i launch multiple exe file using only one process best regards
dghdfghdfghdfghdgh
-
hello, how can i launch multiple exe file using only one process best regards
dghdfghdfghdfghdgh
Maybe split the parent process into several threads and launch your child processes from there?
Mark Brock Click here to view my blog
-
hello, how can i launch multiple exe file using only one process best regards
dghdfghdfghdfghdgh
System.Diagnotics.Process.Start("@C:\\Process1.exe"); System.Diagnotics.Process.Start("@C:\\Process2.exe"); System.Diagnotics.Process.Start("@C:\\Process3.exe"); System.Diagnotics.Process.Start("@C:\\Process4.exe"); System.Diagnotics.Process.Start("@C:\\Process5.exe"); Sure you could have an array of strings, and iterate through them, or something?
-= Reelix =-
-
hello, how can i launch multiple exe file using only one process best regards
dghdfghdfghdfghdgh
-
hello, how can i launch multiple exe file using only one process best regards
dghdfghdfghdfghdgh
With only one process and process.start?
string batchFilePath = @"C:\mybatch.bat";
File.WriteAllText(batchFilePath, string.Format("start process1.exe{0}start process2.exe{0}start process3.exe{0}start process4.exe", Environment.NewLine));
using (Process batchProcess = new Process())
{
batchProcess.StartInfo.FileName = batchFilePath;
batchProcess.Start();
}
-Spacix All your skynet questions[^] belong to solved
I dislike the black-and-white voting system on questions/answers. X|