Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
Level III

How can I run a .py python script and python scripts compiled as .exe from JMP



So I've written a JMP UI, and once I gather data from the user I have a button that dumps the form data to a CSV.

Now I need to launch my python script and other .exe  (as an administrator), my python scripts pick up the user input from the CSV and perform the next steps.

Right now it's a .py but I may need to run it through py2exe and compile it into an exe later so a solution that supports both formats would be greatly appreciated if possible.


How can I setup the RunProgram() or Open() to accomplish this task?


I'm on Windows 10, and for the sake of this example could we demonstrate how to open notepad.exe as an administrator? 

I don't need to read from or write to it directly with JMP.