BigPizzaV3/CodexPlusPlus · error · anyhow::Error
无法定位 Windows 启动目录
Error message
无法定位 Windows 启动目录
What it means
Error "无法定位 Windows 启动目录" thrown in BigPizzaV3/CodexPlusPlus.
Source
Thrown at crates/codex-plus-core/src/watcher.rs:544
if !remaining.is_empty() {
let _ = crate::diagnostic_log::append_diagnostic_log(
"watcher.stop_wait_timeout",
serde_json::json!({
"remaining_process_ids": remaining,
"timeout_ms": timeout_ms
}),
);
}
break;
}
std::thread::sleep(Duration::from_millis(interval_ms));
}
}
#[cfg(windows)]
fn create_startup_shortcut(launcher_path: &Path, arguments: &str) -> anyhow::Result<()> {
let Some(shortcut_path) = startup_shortcut_path() else {
anyhow::bail!("无法定位 Windows 启动目录")
};
crate::windows_integration::create_shortcut(&crate::windows_integration::ShortcutSpec {
path: shortcut_path,
target: launcher_path.to_path_buf(),
arguments: arguments.to_string(),
working_directory: launcher_path.parent().map(Path::to_path_buf),
description: "Codex++ watcher".to_string(),
icon: None,
show_minimized: true,
})
}
#[cfg(windows)]
fn spawn_launcher(launcher_path: &Path, debug_port: u16) {
let command = build_spawn_launcher_command(&launcher_path.to_string_lossy(), debug_port);
if let Some((exe, args)) = command.split_first() {
let mut command = Command::new(exe);
commandView on GitHub (pinned to 1f431ae49b)
When it happens
Trigger: Thrown at crates/codex-plus-core/src/watcher.rs:544 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of BigPizzaV3/CodexPlusPlus@1f431ae49b (2026-08-16).
Data as JSON: /api/errors/d250c20e92a72e3a.
Report an issue: GitHub.