# in child after fork (close STD* for good measure) close STDIN; close STDOUT; close STDERR; system $cfg{PDFViewer}, $pdf_file;