-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to exit follow
without shutting down the daemon
#442
Comments
C-c is indeed the correct way to stop the follow output. How do you start the daemon? I've never heard of this behavior before and it shouldn't happen, since these are two distinct processes. |
I used I've also noticed that sometimes the |
May I ask, which version of pueue you're using (or which OS)? Regarding the I strongly suggest to either investigate why your terminal behaves that way, or to simply start |
I'm using Pueue client version 3.1.2, downloaded through scoop, on windows 11. The PID file path was |
Ahh I see. I'm open to suggestions on how to handle/prevent such scenarios on Windows, since I'm not familiar what the ideomatic approach to this problem is. Anyhow, this is a different problem, for which we can create a new ticket :) |
I see, thanks for the help! |
A detailed description of the feature you would like to see added.
When executing
pueue follow X
, I can see the log of currently-running task X. But how can I exit the follow command (i.e. get back to my shell) without shutting down the daemon? The only thing I've found that seems to do anything is<C-c>
, but this shuts down the daemon for some reason.Explain your usecase of the requested feature
Not sure if I'm using pueue for its intended purpose but I wanted to use it to run a testing/development backend server. I usually just open another tab in my terminal where I just
cargo run
my backend, but I thought that it would be more practical to use pueue. Just create a task that starts the server, then I canfollow
whenever I need to look at the log, and get back to my shell after getting the info I needed. That way, the server runs in the background and doesn't clutter my windows.Also, maybe I should make a new issue for this, but is it possible to define a group of tasks that I can start with one command and stop with another (e.g. a backend server and a frontend server)? A paused task becomes failed when shutting down the daemon so that doesn't work, and I don't see a way to stop or shutdown a task that has no "end" (like a server) without it becoming "failed".
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: