Skip to content

Commit

Permalink
clean up more commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe-g-gelardi committed Nov 20, 2023
1 parent d7834cb commit ac3d66d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions util/run_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,3 @@ func StartTmuxSession(sessionName string, editorCmd string) error {
return nil
}

// // maybe...
// func run(command []string) (*exec.Cmd, error) {
// cmd := exec.Command(command[0], command[1:]...)
// cmd.Stdout = os.Stdout
// cmd.Stderr = os.Stderr
// cmd.Stdin = os.Stdin
//
// if err := cmd.Run(); err != nil {
// return nil, fmt.Errorf("error running command %v: %v", command, err)
// }
//
// return cmd, nil
// }

0 comments on commit ac3d66d

Please sign in to comment.