Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/GoEdgeLab/EdgeNode
/ PauseWindow
Method
PauseWindow
internal/utils/service.go:104–111 ·
view source on GitHub ↗
PauseWindow 保持命令行窗口是打开的
()
Source
from the content-addressed store, hash-verified
102
103
// PauseWindow 保持命令行窗口是打开的
104
func
(this *ServiceManager) PauseWindow() {
105
if
runtime.GOOS !=
"windows"
{
106
return
107
}
108
109
b := make([]byte, 1)
110
_, _ = os.Stdin.Read(b)
111
}
Callers
nothing calls this directly
Calls
1
Read
Method · 0.65
Tested by
no test coverage detected