I have read many posts that deal with this problem but nobody has given a solution yet.
I have 3 python files:
- subprocess_main1.py --> open Rhino and execute the RunPythonScript1.py
- RunPythonScript1.py --> run the script.py
- script.py --> at the end it should make Rhino exit
I run the subprocess_main and at the end the rs.Command("-_Exit") is used but never be executed. So Rhino remains open!
The only thing needed is to change the paths of the files (–your path–)
Any help is appreciated!