Name

execl

execl [-argv0 argv0] prog [arglist]

Per form an execl system call, replacing the current process with program prog and the arguments specified in the list arglist. The command does not return unless the system call fails.

The -argv0 option specifies the value to be passed as argv[0] of the new program.

Under Windows, the execl command starts a new process and returns the process ID.

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.