property signalCode | Bun module | Bun
BuildDocsReferenceGuidesBlogDiscord/
Bun/
Subprocess/
signalCodePsignalCode
Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
Bun/
Subprocess/
signalCodePsignalCode
property
Subprocess.signalCodereadonly
signalCode: null | Signals
Synchronously get the signal code of the process
If the process never sent a signal code, this will return null
To receive signal code changes, use the onExit callback.
If the signal code is unknown, it will return the original signal code number, but that case should essentially never happen.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →