in reply to External command execution - Strange Error - No child process
In lieu of you showing no code, here is a option string that took me awhile to get correct. You may have an option wrong, or maybe you want to add 2>&1>/dev/null to your options to quiet the output.
Passing the commandline options to tar, for example only, not tested recently:
system ('tar','-c','-XEXCLUDE_FILE','-M','-L50000',"-F ./backup-rotate +.pl $basename","-f$basename-0.tar",$dir);
|
|---|