in reply to Access an executable from perl script

Running the executable is done by system. But what do you mean by
and return the output file

? Do you mean that you want to process the file $output_file afterwards? This is not different from processing any other file. See for instance open or IO::File.

-- 
Ronald Fischer <ynnor@mm.st>