Jump to revision: | |
---|---|
Author: | pje |
Date: | Fri Nov 21 17:27:17 2003 UTC (20 years, 5 months ago) |
Log Message:
Added 'peak.running.commands.runMain()', a convenience function for starting an application's "main" command, that also makes it easy for forked child processes to exit and replace the parent process' "main". The 'peak' script has now been shortened to:: from peak.running import commands commands.runMain( commands.Bootstrap ) so it's now much easier to create alternative startup scripts, if you need to, or to add an 'if __name__=="__main__"' clause to a module.
Changed paths:
Path | Action | Text Changes | Prop Changes | Diff to Previous |
---|---|---|---|---|
PEAK/CHANGES.txt | modified | X | (diff to previous) | |
PEAK/scripts/peak | modified | X | (diff to previous) | |
PEAK/src/peak/running/commands.py | modified | X | (diff to previous) | |
PEAK/src/peak/running/interfaces.py | modified | X | (diff to previous) |
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |