mirror of
https://github.com/db9979/sshtermy.git
synced 2026-12-06 20:54:09 +01:00
Claude-Session: https://claude.ai/code/session_018i4GUjtTNDHJf9kzx4GJCj Co-authored-by: Claude <noreply@anthropic.com>
12 lines
254 B
Go
12 lines
254 B
Go
package pwsource
|
|
|
|
import (
|
|
"os/exec"
|
|
"syscall"
|
|
)
|
|
|
|
// hideWindow: kein Konsolenfenster für op.exe, bw.exe & Co.
|
|
func hideWindow(cmd *exec.Cmd) {
|
|
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true, CreationFlags: 0x08000000} // CREATE_NO_WINDOW
|
|
}
|