-
Notifications
You must be signed in to change notification settings - Fork 5
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
Hapless doesn't seem to actually kill the background task #17
Comments
Hey @nathan-fiscaletti, could you provide additional information:
|
ok, I found the issue and it is related to the In a future release I do also plan to skip shell spawning altogether and just provide current environment directly to the subprocess. |
In a meanwhile you can test the fix by yourself by installing latest development branch
|
Step 1: Create a background task using hapless.
Step 2: Hapless shows it as running.
Step 3: Checking the processes with
ps
shows three distinct processes for the task. Thepid
reported by hapless seems to be the second in the list fromps
.When I attempt to kill the task all but the last of the processes from
ps
seem to be killed, which leaves the task running even though hapless reports that it isn't running.The text was updated successfully, but these errors were encountered: