You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"pitchfork wait" is not working. If you have a running daemon and attempt to use "pitchfork wait" it returns instantly instead of waiting for the daemon to stop running.
I ran a simple test for this:
$ pitchfork run sleep -- sleep 120 # Just start a daemon that should run for a while before finishing
$ pitchfork wait sleep # Attempt to wait for it to stop, but instead it returns instantly
$ pitchfork ls # Verify that the "sleep" daemon is still running
Looking at "src/cli/wait.rs" I think that the break condition for the loop is reversed:
loop {
if PROCS.is_running(pid) {
break;
}
interval.tick().await;
PROCS.refresh_processes();
}
I think that it should break when the process is not running.
The text was updated successfully, but these errors were encountered:
"pitchfork wait" is not working. If you have a running daemon and attempt to use "pitchfork wait" it returns instantly instead of waiting for the daemon to stop running.
I ran a simple test for this:
Looking at "src/cli/wait.rs" I think that the break condition for the loop is reversed:
I think that it should break when the process is not running.
The text was updated successfully, but these errors were encountered: