in reply to Re^2: creating multiple instances of a process
in thread creating multiple instances of a process

You have a typo in line 14 which is making both the parent and child run the child code and exit on the first time through the loop. Change . . . if %kid; to . . . if $cpid;.

After Compline,
Zaxo

  • Comment on Re^3: creating multiple instances of a process

Replies are listed 'Best First'.
Re^4: creating multiple instances of a process
by sweetblood (Prior) on Jun 20, 2005 at 19:55 UTC
    Indeed! That was the problem, Many Thanks!

    Sweetblood