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

implement method to terminate a job created by vifm.startjob #944

Open
dacyberduck opened this issue Oct 1, 2023 · 1 comment
Open

implement method to terminate a job created by vifm.startjob #944

dacyberduck opened this issue Oct 1, 2023 · 1 comment

Comments

@dacyberduck
Copy link
Contributor

once a job is created, there is no suitable way to stop it on demand. It will be useful to have a method that will return the pid of the child process so that it can be terminated on demand.

@xaizek
Copy link
Member

xaizek commented Oct 1, 2023

There is already "terminate job" function in C which just isn't exposed to Lua. It has advantage or working on Windows the same way. Can add a method to get PID as well for some other purpose (:terminate() will do kill -9).

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

No branches or pull requests

2 participants