Whether this process was spawned to BE the detached daemon.
()
| 237 | |
| 238 | /** Whether this process was spawned to BE the detached daemon. */ |
| 239 | function daemonInternalSet(): boolean { |
| 240 | const raw = process.env[DAEMON_INTERNAL_ENV]; |
| 241 | return !!raw && raw !== '0' && raw.toLowerCase() !== 'false'; |
| 242 | } |
| 243 | |
| 244 | /** |
| 245 | * Prefix every `process.stderr.write` chunk with an ISO-8601 timestamp. Called |