executable in a subfolder
Published: November 6, 2015 - 9:36 AM
Hello,
I'm creating a package to deploy SolidWorks.
The executable I'm using is located in a subfolder:
`.\sldmi\sldim.exe`.
I tested my command line via cmd:
`.\sldim\sldIM.exe" /adminclient /new /source ".\AdminDirector.xml"`.
The installation goes smoothly. However, when I integrate it into WAPT using the `*.py` file via this command line:
`run(r'".\sldim\sldIM.exe" /adminclient /new /source ".\AdminDirector.xml"')`,
it no longer works. I imagine it must be a syntax issue.
Is it possible to launch an `*.exe` file from a subfolder via WAPT?
I've done some testing, but the time it takes to create and deploy the package is quite long, given the size of SolidWorks. So if anyone has an idea to save me from doing dozens of tests, I would be very grateful.
I'm creating a package to deploy SolidWorks.
The executable I'm using is located in a subfolder:
`.\sldmi\sldim.exe`.
I tested my command line via cmd:
`.\sldim\sldIM.exe" /adminclient /new /source ".\AdminDirector.xml"`.
The installation goes smoothly. However, when I integrate it into WAPT using the `*.py` file via this command line:
`run(r'".\sldim\sldIM.exe" /adminclient /new /source ".\AdminDirector.xml"')`,
it no longer works. I imagine it must be a syntax issue.
Is it possible to launch an `*.exe` file from a subfolder via WAPT?
I've done some testing, but the time it takes to create and deploy the package is quite long, given the size of SolidWorks. So if anyone has an idea to save me from doing dozens of tests, I would be very grateful.