vendredi 17 octobre 2014

C# same exe file, multi process and different input arguments


Vote count:

0




I have an exe file, say XYZ.exe which takes in a csv file, and do some other manipulation, like querying DB based on the things in csv file.


Now, there are 4 csv files, file_1.csv to file_4.csv, same format, but different contents. What i wanna do is to initial 4 process, all running XYZ.exe, and each with one of the csv files. They all run in background.


I have tried to use Process.Start(@"XYZ.exe", input arguments). However, it looks like the second process would not start till the first process finishes. I wonder how should i change the code to accomplish the work.



asked 50 secs ago







C# same exe file, multi process and different input arguments

Aucun commentaire:

Enregistrer un commentaire