is perl better?
Bernard Delmée
bdelmee at advalvas.REMOVEME.be
Fri Mar 5 15:34:54 EST 2004
jon c wrote:
> well the cammand is
>
> java -hotspot -showversion ...... -classpath loads of entries
> application-name
>
> the total string is 6809 characters long.
>
Maybe a workaround would be to use the CLASSPATH environment
variable instead of the command line -classpath parameter
(using os.environ from python). Hopefully this would make your
command line short enough not to hit any hard limit.
os.environ[ 'CLASSPATH' ] = 'lib1.jar:...:libN.jar'
os.system ( 'java -hotspot -showversion application-name' )
Hope this helps,
Bernard.
More information about the Python-list
mailing list