Run exe from GUI script

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Joel Quarnstrom
Posts: 15
Joined: Sat Mar 02, 2019 6:18 pm

Run exe from GUI script

Post by Joel Quarnstrom » Sun Aug 18, 2019 7:32 am

Hello,

I was wondering if there is a command that I could include in a python script for the GUI, which would run an executable file?

Thank you,
Joel Quarnstrom

Tags:

User avatar
Thomas Uchida
Posts: 1793
Joined: Wed May 16, 2012 11:40 am

Re: Run exe from GUI script

Post by Thomas Uchida » Sun Aug 18, 2019 7:46 am

This post on Stack Overflow might be helpful: "Running an outside program (executable) in Python?" https://stackoverflow.com/questions/181 ... -in-python. However, note that the GUI's scripting environment is Jython (see https://simtk-confluence.stanford.edu:8 ... /Scripting).

POST REPLY