[html5] setting up, and keeping up, a standalone html5 validator
john at smadness.com
Thu Jun 3 15:32:24 PDT 2010
I succeeded in setting up a standalone html5 validator on Mac OS X Server 10.6 (SnowLeopard) in concert with a checked out copy of the W3C validator. Things seem to work well.
I'd like to keep the webserver running automatically, and I'm trying to find the most reliable way to do so. Running the "python build/build.py run" command starts up the java server, but it seems to exit as soon as return is pressed in the terminal window. Additionally, the python process seems to start and replace itself with the java process which causes setting up a launchd (cron-like) job to keep it running futile, since launchd sees the python process exit and tries to restart it.
Is there a recommended way of making the java webserver start at login, and continue running in the background? launchd is the most supported way to go on Mac OS X, but this would require the python process hanging around until the java servlet dies, and I don't want to start hacking with it unless I know there's no other way.
More information about the Help