Back

exec (clj)

(source)

function

(exec opts? & args)
Replaces the current process image with the process image specified by the given path invoked with the given args. Works only in GraalVM native images (which includes babashka). Supported `opts` - `:arg0`: override first argument (the executable). No-op on Windows. - `:cmd`, `:env`,`:extra-env`, `:escape`,`:pre-start-fn` : see `process`.

Examples