-
Notifications
You must be signed in to change notification settings - Fork 114
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
以 Windows 服务启动,debug=true 会出现异常 #261
Comments
ok,今天看下。 |
刚刚在windows机器用下面的代码编译运行是ok的。可否看下你的代码。 package main
import "github.com/guonaihong/gout"
func main() {
gout.GET("http://www.baidu.com").Debug(true).Do()
} |
代码不方便贴,是编译后的程序以 Windows 服务的方式启动 |
可否把编译选项发下。 |
跟这个issue一样 |
遇到一样的情况,使用vscode运行正常 但是打成gui程序后,debug=true就报错 |
可有最小化复现代码?平时用mac和linux多点,我这边安装下windows 虚拟机复现下。
…---原始邮件---
发件人: ***@***.***>
发送时间: 2023年2月26日(周日) 下午3:49
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [guonaihong/gout] 以 Windows 服务启动,debug=true 会出现异常 (#261)
遇到一样的情况,使用vscode运行正常 但是打成gui程序后,debug=true就报错
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
windows下面用的gui库是?
…---原始邮件---
发件人: ***@***.***>
发送时间: 2023年2月26日(周日) 下午3:49
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [guonaihong/gout] 以 Windows 服务启动,debug=true 会出现异常 (#261)
遇到一样的情况,使用vscode运行正常 但是打成gui程序后,debug=true就报错
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
gui用的fyne,至于代码只是一个小工具没什么业务,我去除掉一些敏感字符,发你邮箱一份 [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
以 Windows 服务启动,
debug=true
会出现write /dev/stdout: The handle is invalid.
花了十几分钟找原因,最后猜测可能 debug 找不到输出的地方,改成
debug=false
后正常The text was updated successfully, but these errors were encountered: