Skip to main content
Glama
test-stubborn-process.js468 B
#!/usr/bin/env node console.log(`Stubborn process started (PID: ${process.pid})`) // Ignore SIGTERM process.on('SIGTERM', () => { console.log('Stubborn process: Received SIGTERM but ignoring it!') }) // Only exit on SIGKILL (which can't be caught) process.on('SIGINT', () => { console.log('Stubborn process: Received SIGINT but ignoring it!') }) // Keep running setInterval(() => { console.log(`Stubborn process still running (PID: ${process.pid})`) }, 1000)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/brennancheung/mcp-rewatch'

If you have feedback or need assistance with the MCP directory API, please join our Discord server