exec(3tcl) Tcl Built-In Commands exec(3tcl) ______________________________________________________________________________ NAME exec - SYNOPSIS exec ?switches? arg ?arg ...? ______________________________________________________________________________ DESCRIPTION shell (form) arg exec - : -keepnewline -- ()- arg arg ( arg)exec (flow)"< fileName" fileName "<"( " | |& 2> >& < fileName fileName <@ fileId FileId open FileId << value Value > fileName fileName 2> fileName fileName >& fileName fileName >> fileName fileName 2>> fileName fileName >>& fileName fileName >@ fileId FileId open fileId() 2>@ fileId FileId open fileId() >&@ fileId FileId open fileId() exec exec errorCode exec () Tcl () -keepnewline "<" "<<" "<@" arg "&" exec "~"(tilde) PATH (glob) shell PORTABILITY ISSUES | Windows () | /"@ | fileId"(notation)16| DOS (hang) | 32(end-of- | file)| Tk IO | Tk | | Tcl | | Windows | (delimiter)()| 16 DOS Windows 3.X | (cryptic)("applba~1.def"| "applbakery.default") | c:/| /windows/systemc://windows/system| () windows | system ( c:/ | ) | c:/windows/system| file join | Windows NT | exec | .com .exe, | .bat | ()():| Tcl | | Windows NT 32 | Windows NT 16 | Windows NT | path | shell dir copy, | "cmd.exe /c " | (prepend) | Windows 95 | exec| .com .exe, .bat | ()():| Tcl | | Windows 95 | Windows 95 | path | shell dir copy, | "command.exe /c | "(prepend) | 16 DOS | | 16 DOS | 32| 16 DOS | (workaround)| NUL: | 16 NUL: | | (infinite)"0x01"(stream)| NUL:4K , | (hang)32| DOS | 16| 16 DOS | 16| DOS | (end)16| DOS| Windows | 95| Windows 95 DOS shell | command.com | Tcl| Macintosh | Macintosh exec | Unix | exec | SEE ALSO | error(n), open(n) | KEYWORDS | execute, pipeline, redirection, subprocess | [] | | [] | 2001/07/11 | Linux man : | http://cmpp.linuxforum.net | | man | man https://github.com/man-pages-zh/manpages- | zh | Tcl 7.6 exec(3tcl) |