is perl better?

jon c jon_couchman at
Mon Mar 8 10:51:18 CET 2004

Thanks for all the help.

to answer a few questions.

if comand string is cmd

then perl code looks like


and python code looks like


I have tried popen(cmd) too and get the same problem as with os.system.

the complete erro message, which comes from windows terminal and not python 
is simply

The following character string is too long:

follwed by the parsed character string.

I have managed to solve the problem doing the obvious thing (which is always 
the last thing you think of and need help remebering) and that is using the 
os.environ to set the classpath and not passing this as an argument to java.

thanks for you help!

Express yourself with cool new emoticons

More information about the Python-list mailing list