We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4169021 + 844190e commit 7b1d5f9Copy full SHA for 7b1d5f9
2 files changed
exec.go
@@ -7,7 +7,19 @@ import (
7
"time"
8
)
9
10
-type ExitError = exec.ExitError
+// Type aliases for os/exec types.
11
+type (
12
+ Cmd = exec.Cmd
13
+ Error = exec.Error
14
+ ExitError = exec.ExitError
15
+)
16
+
17
+// Variable aliases for os/exec variables.
18
+var (
19
+ ErrDot = exec.ErrDot
20
+ ErrNotFound = exec.ErrNotFound
21
+ ErrWaitDelay = exec.ErrWaitDelay
22
23
24
// Exec represents an command executer.
25
type Exec struct {
go.mod
@@ -1,3 +1,3 @@
1
module github.com/k1LoW/exec
2
3
-go 1.22
+go 1.24
0 commit comments