mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-02 22:25:47 +02:00
19 lines
250 B
Go
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)
|
|
}
|