execl(TCLX)

execl(TCLX)


execl -- replace current program with another, passing arguments in list

Syntax

execl [-argv0 argv0] prog [arglist]

Description

Does an execl, replacing the current program (either Extended Tcl or an application with Extended Tcl embedded into it) with prog and passing the arguments in the list arglist.

The -argv0 option specifies that argv0 is to be passed to the program as argv[0] rather than prog.