Name

doexec

Synopsis

doexec /path/to/command [argv[0]] ... [argv[n]]

Execute the specified command with the specified options and arguments. Differs from the normal exec command in that argv[0] may be completely arbitrary, and in that it passes all options to the executable being run.

Get Linux in a Nutshell, 6th Edition 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.