> The CM team here would like to have the script run each week as part of > the > automated rebuilds. The suggestion was to make the execution of the > scritp > part of the bigger programs make file. How would I handel errors when the > program is run from a makefile? I hate make so I have not done a lot of > playing with what make can do in this respect but can python get an error > message to make?
You can write the errors to stderr instead of stdout. You can also exit with an error code using sys.exit(). make should detect the non standard error code because it uses standard shell processing.. Alan G _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor