exec(
path,args,opts) ->proc,err
Execute an external command asynchronously
Spawns an external command as a child process with non-blocking pipe I/O
and pidfd-based exit notification. Returns a process handle with async
send, recv, recv_stderr, read_all, wait, and kill methods.
Options:
cwd (string): working directory for childenv (table): array of "KEY=VALUE" strings, replaces child environmentstderr_to_stdout (boolean): merge stderr into stdout stream