Skip to content

Commit ce2849d

Browse files
committed
Add missing windows build tag to spawn.go
spawn.go uses Windows-only symbols (_ShellExecuteNowait, makeCmdLine, syscall.SW_NORMAL) but was missing the build tag, causing compilation errors on non-Windows platforms.
1 parent fe0532a commit ce2849d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

spawn.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build windows
2+
// +build windows
3+
14
package main
25

36
import (

0 commit comments

Comments
 (0)