Skip to main content

exec

function

babashka.process/exec

(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`.

No examples yet. Be the first to add one!