Name
commandloop
- commandloop
[-async] [-interactive
on|off|tty]
[-prompt1cmd
] [-prompt2cmd
] [-endcommandcmd
] Enter a command loop, reading from standard input and writing to standard output.
Options
- -async
Interpret commands on standard input.
- -interactive
Controls interactive command mode (prompting of commands and display of results). If the argument is on, interactive mode is enabled; if
off
, it is disabled; iftty
, it is enabled if standard input is associated with a terminal.- -prompt1
The argument supplies a command that is executed and the result used as the primary command prompt.
- -prompt2
The argument supplies a command that is executed and the result used as the secondary command prompt.
- -endcommand
The argument supplies a command that is executed when the command loop terminates.
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.