From: <otm...@us...> - 2010-04-18 09:52:19
|
Revision: 7036 http://jython.svn.sourceforge.net/jython/?rev=7036&view=rev Author: otmarhumbel Date: 2010-04-18 09:52:12 +0000 (Sun, 18 Apr 2010) Log Message: ----------- enable jython.bat in the 4nt (Take Command) shell fixes bug #1557 many thanks to stuaxo for the patch Modified Paths: -------------- trunk/jython/NEWS trunk/jython/src/shell/jython.bat Modified: trunk/jython/NEWS =================================================================== --- trunk/jython/NEWS 2010-04-18 05:46:24 UTC (rev 7035) +++ trunk/jython/NEWS 2010-04-18 09:52:12 UTC (rev 7036) @@ -33,6 +33,7 @@ - [ 1456 ] sys.trace/profile attributes cause: AttributeError: write-only attr: trace in PyAMF - [ 1385 ] generator.throw uncaught on new generator doesn't stop the generator - [ 1596 ] SynchronizedCallable does not report that it is callable [suggested fix] + - [ 1557 ] jython.bat doesn't work in 4nt - Fix runtime issues during exitfuncs triggered via SystemRestart (such as during Django or Pylons development mode reloading) - Fix pickling of collections.defaultdict objects Modified: trunk/jython/src/shell/jython.bat =================================================================== --- trunk/jython/src/shell/jython.bat 2010-04-18 05:46:24 UTC (rev 7035) +++ trunk/jython/src/shell/jython.bat 2010-04-18 09:52:12 UTC (rev 7036) @@ -12,6 +12,12 @@ rem rem --------------------------------------------------------------------------- +rem If running in Take Command (4NT), force to run in cmd.exe +if not "%@eval[2+2]" == "4" goto normalstart +cmd /C %0 %* +goto finish + +:normalstart setlocal enabledelayedexpansion rem ----- Verify and set required environment variables ----------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |