1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-02 22:25:47 +02:00
lazygit/main/main.go
Jesse Duffield be2bf77bf0 WIP
2021-04-03 20:30:34 +11:00

19 lines
250 B
Go

package main
import (
"fmt"
"os"
"os/exec"
)
func main() {
cmd := exec.Command("lazygit")
cmd.Env = os.Environ()
fmt.Println(cmd.Env)
cmd.Stderr = os.Stderr
cmd.Stdout = os.Stdout
cmd.Stdin = os.Stdin
err := cmd.Run()
fmt.Println(err)
}