is perl better?

jon c jon_couchman at hotmail.com
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

system(cmd)

and python code looks like

os.system(cmd)

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 http://www.msn.co.uk/specials/myemo





More information about the Python-list mailing list