pitboard-core 0.8.0

The engine behind Pitboard: parking and restoring Claude Code and Codex logins. Serves Pitboard's own front ends.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Processes on Windows, before this face is written.

use std::path::Path;

/// Whether process `pid` may still be running: always, until W18 asks Windows. The callers
/// only ever leave alone what a live process may still be using, so this keeps everything.
pub(crate) fn may_be_running(_pid: u32) -> bool {
    true
}

/// Whether `path` is a program this user may run: none is, until W17 finds programs as a
/// Windows shell does, by `PATHEXT`. So no tool's program is found, and no sign-in starts.
pub(crate) fn can_run(_path: &Path) -> bool {
    false
}