mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #862] 在window系统下执行客户端(frpc)时,窗口不能关闭 #682
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#682
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @OStoneO on GitHub (Jul 31, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/862
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)?
0.20.0
What operating system and processor architecture are you using (
go env)?Windows 10 17134.191
Configures you used:
Steps to reproduce the issue:
no
Describe the results you received:
1、在控制台打开frpc后不能关闭控制台,尝试写了一个BAT文件自动执行frpc,发现frpc会打开一个空的窗口。由于设置了日志文件,在此窗口中并不会输出内容。
Describe the results you expected:
1、是否有参数可以使frpc处于后台静默执行的模式。或者希望作者将后台执行模式加入开发计划中。
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
@ustczzh commented on GitHub (Jul 31, 2018):
请自行网络搜索:windows下将exe程序注册为系统服务。
建议搜索:
1,手动操作:使用sc命令。
2,少量exe:使用WinSW。
3,大量exe:使用AlwaysUp。
@OStoneO commented on GitHub (Jul 31, 2018):
直接使用sc命令的方式不可取,毕竟这个应用不是标准服务应用。
经测试, 使用instsrv/srvany工具可行,感谢指导!