Skip to content

Commit

Permalink
fix(process): return exit code instead of signal (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
pysan3 authored Mar 21, 2024
1 parent ed70af8 commit 7054695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nio/process.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function nio.process.run(opts)
verbatim = opts.verbatim,
detached = opts.detached,
hide = opts.hide,
}, function(_, code)
}, function(code, _)
exit_code_future.set(code)
end)

Expand Down

0 comments on commit 7054695

Please sign in to comment.