TABLE OF CONTENTS


::pwtk::run_id

SYNOPSIS

proc ::pwtk::run_id {} {

PURPOSE

Return the ID of the last 'run -bg' background process or an empty string if there were/are no 'run -bg' background processes.

SOURCE

    variable run
    ifexist run(bg.ID) {
        return $run(bg.ID)
    } else {
        return ""
    }
}