logo       

Re: sys.argv[i] with i>9 Problem ?: msg#00030

lang.jython.user

Subject: Re: sys.argv[i] with i>9 Problem ?

It's possible you have an old (or doctored version) of jython.bat
The oldest version has the invocation line as:

java.exe -Dpython.home=%JYTHON_HOME% org.python.util.jython %1 %2 %3 %4 %5 %6 %7 %8 %9

The newer versions of jython.bat have:

set ARGS=

:loop
if [%1] == [] goto end
set ARGS=%ARGS% %1
shift
goto loop
:end

rem -Xmx90mb

java.exe %JYTHON_JAVA_ARGS% -Dpython.home=%JYTHON_HOME% org.python.util.jython %ARGS%


That might explain why you only see 9 arguments.

--
Kip Lehman



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise