C# Launcher program(ConsoleApp) that launches other executables

Posted by Agile Noob on Stack Overflow See other posts from Stack Overflow or by Agile Noob
Published on 2010-05-13T19:02:46Z Indexed on 2010/05/13 19:14 UTC
Read the original article Hit count: 135

Filed under:
|
|
|
|

I've written a launcher program that fires off a given number of executables, with the following code:

Process.Start(strPath2EXE);

The problem I'm running into is it seems I'm being limited to launching only about four copies of the executable. Is there a different way I can launch the executables without this limit? I'm hoping to run 10+ concurrently.

Here is the error from the event log: EventType clr20r3, P1 launcher.exe, P2 1.0.0.0, P3 4bec3901, P4 system, P5 2.0.0.0, P6 4889de7a, P7 39f5, P8 288, P9 system.componentmodel.win32, P10 NIL.

© Stack Overflow or respective owner

Related posts about c#

Related posts about console