redirect >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> `-append`_ Append output to the file `-tee`_ Tee output to the current output stream `-file`_ Output to a file (default) `-compress`_ Compress when writing to file `-variable`_ Output to a variable `-channel`_ Output to a Tcl channel `-bg`_ Execute redirected cmd string in background. PID of the background process is return when this option is used `-max_cores`_ Number of cores to use to execute the command in background `-target`_ Name of file/variable target for redirect `-command_string`_ Command to redirect. Should be in braces {} ----------------- .. _redirect-append: -append :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | Append output to the file **attribute** :type: BOOL :positional: False :default: **related_options** :GroupType.TYPE_CONFLICT: channel append **simple case** There is currently no simple case. ----------------- .. _redirect-tee: -tee :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | Tee output to the current output stream **attribute** :type: BOOL :positional: False :default: **related_options** **simple case** There is currently no simple case. ----------------- .. _redirect-file: -file :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | Output to a file (default) **attribute** :type: BOOL :positional: False :default: **related_options** :GroupType.TYPE_CONFLICT: file channel variable **simple case** There is currently no simple case. ----------------- .. _redirect-compress: -compress :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | Compress when writing to file **attribute** :type: BOOL :positional: False :default: **related_options** **simple case** There is currently no simple case. ----------------- .. _redirect-variable: -variable :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | Output to a variable **attribute** :type: BOOL :positional: False :default: **related_options** :GroupType.TYPE_CONFLICT: file channel variable **simple case** There is currently no simple case. ----------------- .. _redirect-channel: -channel :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | Output to a Tcl channel **attribute** :type: BOOL :positional: False :default: **related_options** :GroupType.TYPE_CONFLICT: file channel variable :GroupType.TYPE_CONFLICT: channel append **simple case** There is currently no simple case. ----------------- .. _redirect-bg: -bg :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | Execute redirected cmd string in background. PID of the background process is return when this option is used **attribute** :type: BOOL :positional: False :default: **related_options** **simple case** There is currently no simple case. ----------------- .. _redirect-max_cores: -max_cores :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | Number of cores to use to execute the command in background **attribute** :type: INT :positional: False :default: **related_options** **simple case** There is currently no simple case. ----------------- .. _redirect-target: -target :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | Name of file/variable target for redirect **attribute** :type: STRING :positional: True :default: **related_options** **simple case** There is currently no simple case. ----------------- .. _redirect-command_string: -command_string :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | Command to redirect. Should be in braces {} **attribute** :type: STRING :positional: True :default: **related_options** **simple case** There is currently no simple case.