TABLE OF CONTENTS


::pwtk::rexec_bg

SYNOPSIS

proc ::pwtk::rexec_bg {user_at_host command} {

PURPOSE

Execute the command in the background on the remote host. The command returns immediately for further processing.

The executable for the remote shell (default = ssh) and its options for the background remote execution are defined by the remote(rsh) and remote(rsh_bg_opts) variables, respectively, in $PWTK/config/remote.tcl or ~/.pwtk/remote.tcl.

ARGUMENTS

SOURCE

    variable remote
    return [try_exec -ignorestderr -- {*}$remote(rsh) {*}$remote(rsh_bg_opts) $user_at_host $command]
}