Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'How do I set a command line program to run on startup and stay in the background?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How do I set a command line program to run on startup and stay in the background?
Authored by: iolaire on Nov 08, '04 08:50:19AM
Please is there a quick answer to this? - I want to run the python script: http://libgmail.sourceforge.net/ on startup to provide me with gmail pop access. Can I set a cron job that will load the python script in the background and keep it running? If so how? Right now I have it set up with an apple script to load the python script - but that is not very good because I have to leave the script running or else the python process will die. Thanks, iolaire

[ Reply to This | # ]
How do I set a command line program to run on startup and stay in the background?
Authored by: BulbVivid on Nov 08, '04 04:52:04PM

I don't really mess with all this stuff that is the subject of the parent of this thread, but after reading your post, I thought this app might help you out: http://sveinbjorn.vefsyn.is/platypus.

From the Web site: "Platypus is a powerful developer tool for creating application wrappers around scripts, i.e. for creating MacOS X applications that execute a bundled script. Scripts can thus be run seamlessly from the graphical window environment, making elegant Mac OS X-native applications from scripts."

It may be overkill, or it may be just what you need. . . .

Jason



[ Reply to This | # ]