You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package main
import (
"fmt"
"os"
"strings"
"github.com/vladimirvivien/gexe"
)
func main() {
result := gexe.Envs("GEXE_TEST=kind.local").Run("env")
if result == "" {
os.Exit(1)
}
r := strings.Split(result, "\n")
for _, rr := range r {
if strings.Contains(rr, "GEXE_TEST") {
fmt.Println(rr)
}
}
}
Result:
GEXE_TEST=kind
Expected Result:
GEXE_TEST=kind.local
The text was updated successfully, but these errors were encountered:
Code to reproduce:
Result:
Expected Result:
The text was updated successfully, but these errors were encountered: