Re: Windows paths, Java, and command-line arguments, oh my!

2005-09-21 Thread Steve M
Thank you. I was able to fix it by putting the '-Dwhatever=x' bit before the '-jar y.jar' bit. I had no idea this could matter. Thanks all for the help. -- http://mail.python.org/mailman/listinfo/python-list

Re: Windows paths, Java, and command-line arguments, oh my!

2005-09-21 Thread Neil Benn
Neil Benn wrote: >Steve M wrote: > > > >>Well, apparently I fried my brain trying to sort this out. There is a >>typo in my example code in the post but not in my real program. (I know >>it is a no-no when asking help on c.l.py but I simplified some details >> >> >>from the real code in orde

Re: Windows paths, Java, and command-line arguments, oh my!

2005-09-21 Thread Neil Benn
Steve M wrote: >Well, apparently I fried my brain trying to sort this out. There is a >typo in my example code in the post but not in my real program. (I know >it is a no-no when asking help on c.l.py but I simplified some details >from the real code in order not to confuse the issues. Probably >b

Re: Windows paths, Java, and command-line arguments, oh my!

2005-09-20 Thread Daniel Dittmar
Steve M wrote: About your main problem: I'm still convinced that it's the order of -jar and -D that is important, see my other post. > I have tried (not entirely systematically but pretty exhaustively) > every combination of backslashes in the cmd string, e.g.: > -Dsalesforce.config.dir=c\:\\co

Re: Windows paths, Java, and command-line arguments, oh my!

2005-09-19 Thread Steve M
Well, apparently I fried my brain trying to sort this out. There is a typo in my example code in the post but not in my real program. (I know it is a no-no when asking help on c.l.py but I simplified some details from the real code in order not to confuse the issues. Probably backfired by this poin

Re: Windows paths, Java, and command-line arguments, oh my!

2005-09-19 Thread Daniel Dittmar
Steve M wrote: > I'm trying to invoke a Java command-line program from my Python program > on Windows XP. I cannot get the paths in one of the arguments to work > right. > > The instructions for the program describe the following for the > command-line arguments: > > java -jar sforcedataloader.ja

Re: Windows paths, Java, and command-line arguments, oh my!

2005-09-19 Thread Robert Kern
Steve M wrote: > I'm trying to invoke a Java command-line program from my Python program > on Windows XP. I cannot get the paths in one of the arguments to work > right. > > The instructions for the program describe the following for the > command-line arguments: > > java -jar sforcedataloader.ja

Windows paths, Java, and command-line arguments, oh my!

2005-09-19 Thread Steve M
I'm trying to invoke a Java command-line program from my Python program on Windows XP. I cannot get the paths in one of the arguments to work right. The instructions for the program describe the following for the command-line arguments: java -jar sforcedataloader.jar -Dsalesforce.config.dir=CONFI