my ($stdout, $stderr, $ret) = capture { system("$installfolder/bin/plugins/$psubfolder/cfc.py --configfile $installfolder/config/plugins/$psubfolder/$psubfolder.json --logfile $logfile --loglevel $loglevel &"); }; if ($ret!=0) { LOGINF "Python Skript STDERR $stderr"; exit(1); }