Module process

Module process 

Source
Expand description

Process tree utilities for finding and checking process status.

This module provides cross-platform utilities for process management, including checking if processes are alive and walking the process tree to find the Claude Code process.

Structs§

ClaudeProcessInfo
Information about the Claude Code process

Functions§

find_claude_process
Walk up the process tree to find the Claude Code process.
get_parent_pid
Get the parent process ID.
is_process_alive
Check if a process with the given PID is still running.