Re: String operations

2004-12-10 Thread Terry Hancock
On Wednesday 01 December 2004 04:20 pm, Anoop Rajendra wrote: > os.execvp("condor_q",["condor_q","-l","-constraint",'"ProjectId==\\\"anoopr_samadams.fnal.gov_161903_30209\\\""']) > > doesnt work. Its definately a problem with one of the million > backslashes and quotes present, but I'm not able to

Re: String operations

2004-12-01 Thread Steve Holden
Anoop Rajendra wrote: Hi. I'm trying to resolve an issue with strings. The command(inclusive of the back-slashes) condor_q -l -constraint "ProjectId==\"anoopr_samadams.fnal.gov_161903_30209\"" is the only way the command returns the right result. I'm trying to run this command from inside a python