Skip to content

Commit

Permalink
fix: build on unsupported GOOS
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Sep 22, 2023
1 parent 2593447 commit d5e71ba
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cmd_other.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//go:build !linux && !darwin && !freebsd && !dragonfly && !netbsd && !openbsd && !solaris && !windows
// +build !linux,!darwin,!freebsd,!dragonfly,!netbsd,!openbsd,!solaris,!windows

package pty

func (*Cmd) start() error {
return ErrUnsupported
}

func (*Cmd) wait() error {
return ErrUnsupported
}

0 comments on commit d5e71ba

Please sign in to comment.