-
-
Notifications
You must be signed in to change notification settings - Fork 753
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
Binary not stopping on Ctrl + C on windows #55
Comments
print:
and cmd window is still runing but http server is stoped |
cloud you use Admin mode? it will clean the tmp files? |
cloud you provide air log ? you mean air is stoped and your service is alive? |
The tmp folder is deleted successfully when I close the cmd window and press Ctrl + C on vscode terminal , |
I have same easy, I just change tmp dir so no access is denied error, but same issue when ctrl + c. |
这个问题解决了吗?我的windows10也是这样的 cleaning...
deleting E:\WorkPlace\gin_app\tmp
failed to delete tmp dir, err: remove E:\WorkPlace\gin_app\tmp\main.exe: Access is denied.
see you again~ http服务一直在运行。文件修改后,日志显示:会重新编译,但在run的时候显示端口被占用。 应该是在终止前一个程序的进程时终止失败了,删除tmp目录也失败了,导致后面编译再跑时端口被占用,无法再次跑起来 |
Air's process (and goroutine) handling is too complex to work well. |
解决了吗,我也出现了这个问题 |
OS:
Windows 7 x64
Terminal:
mintty 2.8.4 (MINGW64 git-scm)
Config:
Steps to reproduce:
http.ListenAndServe
and a blank handler.air
in Terminalhttp://localhost.com:1234/my_endpoint/
Air is closed but binary is still running when checked in Task Manager.
The text was updated successfully, but these errors were encountered: