Windows Perl (icon v command line)
robrwo at gmail.com
Sun Dec 11 14:26:47 GMT 2005
On 12/09/2005 10:02 AM Steve Mynott wrote:
> But I was wondering, and I guess this is more a windows question than
> perl, if anyone knew of a simple way on Windows of knowing whether the
> exe had been ran as an icon or via a cmd.exe box?
I no longer use Windows, but I believe you can check the existence of
certain environment variables that are instantiated when you are in the
I also recall there being a module on CPAN which uses this method to
determine if it should pause when a program halts or not.
More information about the london.pm