I am having a issue where the following line opens a cmd prompt and Sketchup immediately closes. There is no crash report or anything it simply disappears. Putting it in a begin rescue block does not seem to help. My python file only contains a infinite loop to keep the window from closing.
exec("python test.py params")
I want to run a python script from Ruby. Am I misunderstanding how this method works?
system 'python test.py ' + params seems to work ok