Running Perl scripts from VB.NET and wait for their responses

newtovbnet

New member
Joined
Nov 26, 2006
Messages
1
Programming Experience
1-3
Hello all, please help...

I need to write a window's GUI using Visual Basic.NET, to run many (60 or so) Perl scripts all at once. What I mean by 'all at once' is that, I call the first Perl script, then the second then the third and so on, until all 60 of them. At the same time, I need to be able to 'catches' all 60 responses from these scripts in the order they are returned (NOT the order they are called) (I DON'T want to call one script and wait for it to return its response and then call the second and wait for its response to return then call the 3rd etc because speed is an issue)
My questions are:
1. Do I use System.Diagnostics.Process.Start to run the Perl scripts? Any sample code?
2. How do I 'catches' the responses from the scripts? Do I need a second process to wait for them? If so, how do I set it up?
Since I am totally new to Visual Basic (my schedule is so tight :confused: ), any info/example code you can give me is greatly appreciated. Thanks!!!
 
Back
Top