Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi,
I have the following code:
As I see it, the newly created directory should always be removed. But sometimes the directory is mysteriously still there, without any fork() errors in my logfile. BTW, I also write an entry in the logfile is the removal of the directory fails, this is also not the case, so it looks like it never reaches the code in the child process. Can it be that although $pid is defined, the fork() fails? And how can I catch still situation in the above code? Any input is highly appreciated In reply to mysterious fork() failure by Marcello
|
|