Help with os.spawnv

D

Damon Pettitt

I'm not sure if this is how I'm supposed to post, but I saw a thread entitled, "Help with os.spawnv", that I wanted to respond to.

I believe if you change the variable pyScript from:
"E:\\Documents and Settings\\Administrator\\Desktop\\Ian\\GIS\\Python\\subProcess2.py"
to
'"E:\Documents and Settings\Administrator\Desktop\Ian\GIS\Python\subProcess2.py"'

(this basically uses a single backslash and a single quote preceding the first double quote and a single quote just after the last double quote).

your script would work.


Damon Pettitt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,182
Latest member
BettinaPol

Latest Threads

Top