View Single Post
  #1  
Old 03-26-2003, 10:11 AM
hotspur1 hotspur1 is offline
Member
 
Join Date: Mar 2003
Location: Cambridge, MA
Posts: 54
starting Vizard from a Python script

I would like to run a Vizard script from another Python script by something like

os.execv("winviz.exe",['runthisVizardscript.py'])

but when I try this, I get a dialog box that says Vizard must be running first. Also, when I click the 'ok' button, it seems to hang up the Pythonwin program.... Normally, I would not be using Pythonwin but the calling script would be executed from the Command prompt or equivalent.

Any thoughts on how I can do this?

Thanks in advance.
Reply With Quote