detecting launching from explorer

2007-02-16 Thread Scott Roland
I have a python script that can either be launched from cygwin, a DOS cmd.exe shell, or by double clicking on the icon in a Windows Explorer window. When it is launched by double clicking from a Windows Explorer window it opens up a new cmd.exe window to run the program and the window closes when

Re: detecting launching from explorer

2007-02-16 Thread Trent Mick
Scott Roland wrote: > I have a python script that can either be launched from cygwin, a DOS > cmd.exe shell, or by double clicking on the icon in a Windows Explorer > window. > > When it is launched by double clicking from a Windows Explorer window it > opens up a new cmd.exe window to run the pro