Skip to content
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

Interact with background jobs (scripted job control) #706

Open
agowa opened this issue Jul 10, 2023 · 0 comments
Open

Interact with background jobs (scripted job control) #706

agowa opened this issue Jul 10, 2023 · 0 comments

Comments

@agowa
Copy link

agowa commented Jul 10, 2023

I have sent a large upload task into the background and would like to interact with the task and job from a script.
For e.g. lftp -c "attach $PID; jobs; exit bg; exit" doesn't work. After the attach is executed, it doesn't execute further commands and gets stuck in an interactive shell.

Am I doing something wrong or is it currently not possible to interact with an background lftp process (except maybe by manually attaching it inside screen/tmux and sending the additional commands via it instead of lftp itself, or other ugly workarounds).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant