Standard output from the last command is redirected to fileId'sįile, which must have been opened for fileId FileId must be the identifier for an open file, such as the return Standard error from all commands in the pipeline isīoth standard output from the last command and standard error fromĪll commands are redirected to the file named fileName,Īppending to it rather than overwriting fileId FileId must be the identifier for an open file, such as the return Redirected to the file named fileName, appending to it rather Standard error from all commands in the pipeline is redirected to theįile named fileName, overwriting its previous contents.īoth standard output from the last command and standard error from allĬommands are redirected to the file named fileName, overwriting Standard output from the last command is redirected to the file namedįileName, overwriting its previous contents. Such arguments will not be passed to the subprocess(es). If an arg (or pair of args) has one of the formsĭescribed below then it is used by exec to control theįlow of input and output among the subprocess(es). The argument following this one willīe treated as the first arg even if it starts with a. Normally a trailing newline will be deleted. Retains a trailing newline in the pipeline's output. They are treated as command-line switches and are not part If the initial arguments to exec start with - then Where each arg becomes one word of a command, andĮach distinct command becomes a subprocess. The arguments take the form of a standard shell pipeline This command treats its arguments as the specification ?ĭESCRIPTION -keepnewline - - | |& fileName 2> fileName >& fileName > fileName 2> fileName >& fileName fileId fileId fileId PORTABILITY ISSUES Windows (all versions) Windows NT Windows 9x Macintosh Unix UNIX EXAMPLES WINDOWS EXAMPLES SEE ALSO KEYWORDS Tcl Built-In Commands - exec manual page NAME exec - Invoke subprocesses SYNOPSIS exec ? switches? arg ? arg.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |