> 
> It doesn't do what I want at all. It spawns way too many processes.
> (and I get errors in win 2000).
> 
> Basically, I want to spawn a process which does something (call a
> subroutine)
> The main process should just continue pumping data which is 
> spawned up to 10
> processes.
> Else it should wait until 1 of the 10 processes finishes.
> 
> Any code examples out there??
> 
> PS The target machine is a Unix box.

If you are spawning procs on a win32 box, the typical fork () examples from
the unix side may not work in windows. often get unexpected results. so save
youself trouble and use on of these modules:
Win32::Process
Win32::Spawn
Win32::IProc ( have not used this one, but supposed to be very good)

the docs have examples. and here too:
http://data.uta.edu/~ramesh/cse4392-5392/Ch4-1.html



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to