I am sure this is a very stupid question...but maybe I'm missing something. I use pdftotext.exe to convert PDF files to plain text. I pass the content of the PDF to a variable. I call the PDF converter from within a script
open (FILE, "$installation_folder/bin/pdftotext $path_to_PDF/$file_id +- |"); my $text = do { local($/); <FILE> };
This works pretty well. Now I compile my script into an exe. If a select the option Hide Console (as the script is part of a small GUI, and I don't want the console to be shown), the variable $text remains empty. (If I compile the script without hiding the console, everything is fine). What can I do? Thanks
In reply to hiding console by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |