En Mon, 14 Jul 2008 21:39:20 -0300, Derek Martin <[EMAIL PROTECTED]> escribió:
On Mon, Jul 14, 2008 at 05:40:43PM -0400, Aquil H. Abdullah wrote:

You've hit the proverbial nail with the hammer.  The problem is that my
application needs to run under both the Linux and Windows OSs, so while I would love to use a nice sh, csh, or bash shell script. My hands are tied
because Windows does not provide such wonderful shells.

*Provides*, no... neither does it provide Python, for what that's
worth.  But you can certainly get it (bash):

  http://win-bash.sourceforge.net/

Using the standard cmd.exe, the previously posted shell script becomes:

=== begin appname.cmd ===
set INSTALLPATH=<wherever app is installed>
call %INSTALLPATH%\bin\python %INSTALLPATH%\APPNAME.py %*
=== end appname.cmd ===

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to