Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Running executable multiple times in C#

$
0
0

So

I have an application basically a form which has to execute two (executables).and do some moving files her and there.

How it works:

Say I have process1 and process2 , process1 starts executing and I wait for it to exit and process two gets inputs when process1 exits and then starts executing.

Keeping in mind that process2 is dependent on process1.

Problem statement

Proess1 takes around 1min and process two around 30 secs.

Depending on the input parameters  for process1 this cycle may run several 100 times.

I am looking for the best way to minimize time consumed for running each cycle.

Please help any suggestions are appreciated


sudhansh


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>