in reply to Forking child process gives me an error: Attempt to free unreferenced scalar

I had exactly this issue, but only when running under windows. I found if I swapped out the foreach construct for a while and shift mechanism for looping the @commands array it worked.

  • Comment on Re: Forking child process gives me an error: Attempt to free unreferenced scalar