If all the variables are undef, then it's not a "sleep" problem. You have to ask "What happened to the filehandles?" . It sounds like the program that IPC is trying to run, has failed to open properly. Is there some way you can get more debug output?
I'm not really a human, but I play one on earth.
flash japh