mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-07 22:22:29 +08:00
fix: ExecCommand can't compile in macos
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//go:build linux
|
||||
|
||||
package system
|
||||
|
||||
import (
|
||||
@@ -16,3 +18,9 @@ func WithForeground() Option {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func WithWinHide() Option {
|
||||
return func(c *exec.Cmd) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user