MCPcopy
hub / github.com/vercel/next.js / handleSigTerm

Function handleSigTerm

packages/create-next-app/index.ts:22–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20let projectPath: string = ''
21
22const handleSigTerm = () => process.exit(0)
23
24process.on('SIGINT', handleSigTerm)
25process.on('SIGTERM', handleSigTerm)

Callers

nothing calls this directly

Calls 1

exitMethod · 0.45

Tested by

no test coverage detected