TABLE OF CONTENTS


::pwtk::postrun

SYNOPSIS

proc ::pwtk::postrun {prog args} {

USAGE

   postrun PROG                ... get the postrun script for the PROG program
   postrun PROG { SCRIPT }     ... set the postrun script for the PROG program
   postrun PROG {}       --+   
   postrun PROG clear    --+-- ... clear the postrun script for the PROG program
   postrun PROG append { SCRIPT } ... append SCRIPT to the postrun script for the PROG program

PURPOSE

Get, set, append, or clear a script that is executed immediately after running the PROG program.

Example:

      postrun pw.x {
         puts "Time after the pw.x execution:  [clock format [clock seconds]]"
      }

ARGUMENTS

RETURN VALUE

The postrun script for the PROG program or empty string if the script does not exist.

SOURCE

    return [::pwtk::xxxrun_ postrun $prog {*}$args]
}