in reply to Re^2: open3 hangs
in thread open3 hangs

Instead of forking, try creating a new thread and launching the child via system... maybe your libc system() call will use a different aproach that doesn't need to lock other threads, for instance, a vfork based one.

Replies are listed 'Best First'.
Re^4: open3 hangs
by stephan_a (Novice) on Feb 20, 2009 at 10:52 UTC

    Hmmm… The documentation (perlfunc) says:

    Does exactly the same thing as "exec LIST", except that a fork is done first, and the parent process waits for the child process to complete.