From: stu <re...@bu...> - 2010-09-30 23:17:03
|
New submission from stu <stu...@gm...>: 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% ---------- components: None messages: 6113 nosy: stuaxo severity: normal status: open title: Error at on exit in TCC/LE type: behaviour _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue1661> _______________________________________ |