WonderG your usage of waitpid looks ok to me. The rename error: your $filename is /tmp which in a Unix-based system is usually a directory. So perhaps, you meant it as a basename and $filename changes in every run, in which case investigate using die "Error in renaming '$filename' to '$newfilename', $!" and check that you have read permissions for the source (and it does exist) and write permissions in the directory of the destination.
In reply to Re^3: Multiprocess - child process cannot be finished successfully
by bliako
in thread Multiprocess - child process cannot be finished successfully
by wonderG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |