-
Notifications
You must be signed in to change notification settings - Fork 674
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
Try to exit gracefully on SIGINT #1378
Comments
Proposed strategy:
\cc @AndreyBelym |
…s#1576) * Handle SIGINT via async-exit-hook (closes DevExpress#1378) * Use updated package * Fix typo * Add message
I reopen this since it works when you run build and run |
It is not working on |
@AlexanderMoskovkin It's because we spawn another process in CLI and this parent process receives SIGINT, not the actula testcafe. We need just to pass it to the child process. |
It uses my Hmm, but seems like it already do signal redirection: |
Oh, seems like the problem is that in |
It happens because |
|
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow. |
…s#1576) * Handle SIGINT via async-exit-hook (closes DevExpress#1378) * Use updated package * Fix typo * Add message
Are you requesting a feature or reporting a bug?
feature
What is the current behavior?
TestCafe terminates leaving browsers open
What is the expected behavior?
Try to terminate running tasks gracefully and only after some timeout terminate process if
it didn't work
The text was updated successfully, but these errors were encountered: