slloyd has asked for the wisdom of the Perl Monks concerning the following question:
Is there a way to tell if a program was run from a command prompt (Windows)? The user could double-click on the program from an explorer window or they might open up a command prompt and run the program from the command prompt. I want to be able to detect how the program was launched. Any ideas?
-------------------------------
Perl - Regularly Expression yourlself
http://www.basgetti.com
Back to
Seekers of Perl Wisdom