Warning: SimpleXMLElement::asXML(E:\phpstudy_pro\zhutiblog\sitemaps\sitemap_54.xml.tmp): failed to open stream: Permission denied in E:\phpstudy_pro\zhutiblog\dd.php on line 1322
property killSignal | Bun module | Bun - AI智能索引
温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/bun/Spawn/SpawnSyncOptions/killSignal
点击访问原文链接

property killSignal | Bun module | Bun

property killSignal | Bun module | BunBuildDocsReferenceGuidesBlogDiscord/Bun/Spawn/SpawnSyncOptions/killSignalPkillSignal

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/Bun/Spawn/SpawnSyncOptions/killSignalPkillSignal

property

Spawn.SpawnSyncOptions.killSignalkillSignal?: string | number

The signal to use when killing the process after a timeout, when the AbortSignal is aborted, or when the process goes over the maxBuffer limit.

// Kill the process with SIGKILL after 5 seconds
const subprocess = Bun.spawn({
cmd: ["sleep", "10"],
timeout: 5000,
killSignal: "SIGKILL",
});

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

property killSignal | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    The signal to use when killing the process after a timeout, when the AbortSignal is aborted, or when the process goes over the `maxBuffer` limit.