E&S CVS Commit: PEAK - Added 'peak.running.commands.runMain()', a convenience function for
pje at eby-sarna.com
pje at eby-sarna.com
Fri Nov 21 12:28:01 EST 2003
Module Name: PEAK
Committed By: pje
Date: Fri Nov 21 17:27:17 UTC 2003
Modified Files:
PEAK: CHANGES.txt
PEAK/scripts: peak
PEAK/src/peak/running: commands.py interfaces.py
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.
To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.92&r2=1.93
http://cvs.eby-sarna.com/PEAK/scripts/peak.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/PEAK/src/peak/running/commands.py.diff?r1=1.37&r2=1.38
http://cvs.eby-sarna.com/PEAK/src/peak/running/interfaces.py.diff?r1=1.19&r2=1.20
To generate a diff of this commit:
cvs rdiff -r1.92 -r1.93 PEAK/CHANGES.txt
cvs rdiff -r1.2 -r1.3 PEAK/scripts/peak
cvs rdiff -r1.37 -r1.38 PEAK/src/peak/running/commands.py
cvs rdiff -r1.19 -r1.20 PEAK/src/peak/running/interfaces.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
More information about the source-changes
mailing list