I want to run a python program/file as a service on OSX. To do this properly I need a start and a stop script.
I have tried multiple solutions that I know work in LINUX, however none seem to fully work in OSX. I remember trying one that worked if the code was as simple as a 'Hello world', anything more complex and Python would crash.
The code I am trying to run works fine when I 'execute' the py script on the terminal.
I imagine this is something rather easy but I can't seem to get it to work.
PS: using % in the terminal does not work in this situation, I do really need a start and stop script.
Cheers, Thanks in advance.