This PR refactors ProcessManager to asynchronously wait on child processes via child.wait().await and reap completed process handles from the internal tracking map upon termination (resolving #63).
Async Process Waiting & Handle Cleanup (src-tauri/src/process_manager.rs):
Replaced the 100ms child.try_wait() polling loop with direct child.wait().await within a dedicated async task.
Automatically removes process handles from self.processes when the child process exits or is killed.
Removed unused Windows CommandExt import warning.
Version Bump:
Incremented point version 0.1.15 -> 0.1.16 across package.json, src-tauri/Cargo.toml, and src-tauri/tauri.conf.json.
### Summary
This PR refactors `ProcessManager` to asynchronously wait on child processes via `child.wait().await` and reap completed process handles from the internal tracking map upon termination (resolving #63).
Closes #63
### Changes
1. **Async Process Waiting & Handle Cleanup (`src-tauri/src/process_manager.rs`)**:
- Replaced the 100ms `child.try_wait()` polling loop with direct `child.wait().await` within a dedicated async task.
- Automatically removes process handles from `self.processes` when the child process exits or is killed.
- Removed unused Windows `CommandExt` import warning.
2. **Version Bump**:
- Incremented point version `0.1.15` -> `0.1.16` across `package.json`, `src-tauri/Cargo.toml`, and `src-tauri/tauri.conf.json`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
This PR refactors
ProcessManagerto asynchronously wait on child processes viachild.wait().awaitand reap completed process handles from the internal tracking map upon termination (resolving #63).Closes #63
Changes
src-tauri/src/process_manager.rs):child.try_wait()polling loop with directchild.wait().awaitwithin a dedicated async task.self.processeswhen the child process exits or is killed.CommandExtimport warning.0.1.15->0.1.16acrosspackage.json,src-tauri/Cargo.toml, andsrc-tauri/tauri.conf.json.