summaryrefslogtreecommitdiffstats
path: root/client/go/util/execvp_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/go/util/execvp_windows.go')
-rw-r--r--client/go/util/execvp_windows.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/client/go/util/execvp_windows.go b/client/go/util/execvp_windows.go
new file mode 100644
index 00000000000..24b67e221c8
--- /dev/null
+++ b/client/go/util/execvp_windows.go
@@ -0,0 +1,22 @@
+// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+// Author: arnej
+
+//go:build windows
+
+package util
+
+import (
+ "fmt"
+)
+
+func Execvp(prog string, argv []string) error {
+ return fmt.Errorf("cannot execvp on windows: %s", prog)
+}
+
+func Execvpe(prog string, argv []string, envv []string) error {
+ return fmt.Errorf("cannot execvp on windows: %s", prog)
+}
+
+func Execve(prog string, argv []string, envv []string) error {
+ return fmt.Errorf("cannot execvp on windows: %s", prog)
+}