If your goal is to simply keep an application running all the time even when you close it you could use the method described here in this articled titled: Always keep an application open .
In that article they describe using this method for the Stickies application.
Excerpted here in case it ever gets deleted
For example, to keep Stickies permanently open, remove Stickies from
the login items for your account (if you've placed it there), quit
Stickies, and then create the following plist file in the LaunchAgents
folder of your home Library (
~/Library/LaunchAgents) with the name
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
Now load this launchd job by logging out of your account and logging
back in or launch Terminal and enter:
$ launchctl load ~/Library/LaunchAgents/user.launchkeep.stickies.plist
Stickies will now effectively be un-removable -- any time it quits,
crashes, or gets forced-quit it will pop right back up. If fact, in
order to quit the app at any time other than logout or shutdown you'll
need to disable the job; In Terminal type:
$ launchctl remove user.launchkeep.stickies
Or you can set up a script that does that for you.