fdesar has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I tried many things and I'm still stuck on a stupid problem with Window.
I have a script running under wperl as I don't need any console window for my script, all its IO being handled by pipes.
But I need to be able to call a cmd command to display a PDF file in the default viewer (ie explore).
So I tried issuing the simple command :
qx{start "$pdf" /b };and whatever I do (even using the /b option), it begins first by opening a console window before running the explorer.
Do you think of a way to get rid of this silly unexpected console ?
(Or any other way to display the PDF file...)
Thanks for any advise,
F.
|
|---|