Working with the Vue interface with Python

[wptabs style=”wpui-alma” mode=”horizontal”] [wptabtitle]Passing arguments[/wptabtitle]
[wptabcontent]
The snippet below launches Vue from a Python script and passes in two arguments to Vue, ARG1 and ARG2:

import subprocess
command = [r"C:\Program Files\e-on software\Vue 10.5 Infinite\Application\Vue 10.5 Infinite", "-p'D:\\Temp\\bat-test.py' ARG1 ARG2"]
result = subprocess.Popen(command)


[/wptabcontent] [/wptabs]

Comments are closed.