[Python-Dev] Re: Console vs. GUI applications
Michael Walter
michael.walter at gmail.com
Thu Sep 9 11:53:10 CEST 2004
Ah, I see.
Thanks,
Michael
On Thu, 9 Sep 2004 11:49:57 +0200, Fredrik Lundh <fredrik at pythonware.com> wrote:
> Michael Walter wrote:
>
> > I guessed CMD.EXE would run ShellExecute(), to which you can pass a
> > filename such as "foo.py". Didn't verify this tho :)
>
> > dumpbin /imports \windows\system32\cmd.exe | grep Shell
>
> > dumpbin /imports \windows\system32\cmd.exe | grep Create
> 7C81E968 4A CreateDirectoryW
> 7C802332 66 CreateProcessW
> 7C810976 52 CreateFileW
>
> (I doubt ShellExecute gives cmd.exe the control it needs. besides, ShellExecute
> is part of the shell layer, not the core Windows API. and the shell layer depends
> on everyone and his brother; I doubt they want the command line interface to
> depend on the GDI layer, RPC services, etc.)
>
> </F>
>
>
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/michael.walter%40gmail.com
>
More information about the Python-Dev
mailing list