Starting an external process from a Rhino plugin?


#1

I am writing a plugin that calls an external exe using mono on a mac. When I try it from within my Rhino plugin it fails with a permissions error. If I run Rhino as root I can successfully call out to my external exe.

Any ideas on why this is? I can call the exe from the Terminal without sudo just fine.


#3

So the problem wasn’t actually that I needed to launch Rhino as root, it was that I needed to launch Rhino from the Terminal so the PATH was set correctly. With explicit paths to the executable I am able to run from within Rhino without root.


(Steve Baer) #4

Thanks for letting us know. I was really scratching my head over that one :slight_smile: