Fork Bomb #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The application is spawning itself from command line, why? Just call an async function or spawn a new thread if you must.
Fixed. Replaced all
std::process::Command::new(exe)self-spawning patterns with directstd::thread::spawncalls that invoke the actual functions:tray.rs:spawn_setup()now callssetup::run()in a thread instead of spawningumutray setup <name>spawn_gui()now callsgui::run()in a thread instead of spawningumutray gui(which also eliminated a duplicate tray icon bug)spawn_setup_picker()now callssetup::run_new()in a thread instead of spawningumutray setupgui.rs:Message::AddLauncher,Message::Setup, andMessage::RerunSetuphandlers all usethread::spawnwith direct function calls instead of subprocess spawningNo more fork-bombing — the application stays as a single process.
🤖 This comment was posted by Claude Code (Anthropic AI).