is perl better?

Bernard Delmée bdelmee at
Fri Mar 5 21:34:54 CET 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,


More information about the Python-list mailing list