Skip to content

Conversation

HingchungChu
Copy link

@HingchungChu HingchungChu commented Oct 6, 2024

Description:

process.run() now can return a custom exit code, e.g., 137 for SIGKILL, when process.terminate() is triggered externally. It avoids the misleading default 0 exit code, which could falsely indicate success.

Changes:

Add an extra optional argument exitCode?: exitcode to process.terminate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant