Message6113

Author stuaxo
Recipients stuaxo
Date 2010-09-30.23:16:51
SpamBayes Score 4.35236e-05
Marked as misclassified No
Message-id <1285888612.32.0.30172995822.issue1661@psf.upfronthosting.co.za>
In-reply-to
Content
Things almost work perfectly in TCC/LE, however it seems to set COMSPEC to C:\Program Files\JPSoft\TCCLE11\TCC.EXE

This causes an error on quit.

My preferred solution is to not use COMSPEC, just call exit /b:

Preferred solution:
--- jython.bat~ 2010-09-30 22:54:20.671875000 +0000
+++ jython.bat  2010-09-30 23:13:08.656250000 +0000
@@ -302,4 +302,4 @@


 :finish
-%COMSPEC% /c exit /b %E%
+exit /b %E%

However if theres a reason to call it, then adding quotes will fix it in this case (but break it if you have quotes in the comspec):

- I've tested both and they work on my computer.

Non preferred solution:
--- jython.bat~ 2010-09-30 22:54:20.671875000 +0000
+++ jython.bat  2010-09-30 23:06:29.812500000 +0000
@@ -302,4 +302,4 @@


 :finish
-%COMSPEC% /c exit /b %E%
+"%COMSPEC%" /c exit /b %E%
History
Date User Action Args
2010-09-30 23:16:52stuaxosetrecipients: + stuaxo
2010-09-30 23:16:52stuaxosetmessageid: <1285888612.32.0.30172995822.issue1661@psf.upfronthosting.co.za>
2010-09-30 23:16:52stuaxolinkissue1661 messages
2010-09-30 23:16:51stuaxocreate