mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 16:27:33 -10:00
The desktop check that its VNC password is in no host process's arguments failed now and then, though devvm never puts it in one. ps_unwatch killed the sampling loop's subshell, but the ps it was running at that moment went on and appended one more sample to ps.log. That sample could catch the next check's own bash -c, which holds the password in its command line. Killed mid-sample, the old watcher recorded a command started after ps_unwatch in 4 of 30 tries on macOS. ps_watch's loop now runs while $work/ps.on exists, and ps_unwatch removes it and waits for the loop to finish its sample, so no sample is taken after it returns (0 of 60 tries). The network section's watcher gets the same fix. Co-Authored-By: Claude Opus 5.5 <[email protected]>