In windows cmd console, when I use the echo command:
echo abc //get: abc
echo "abc //get: "abc
echo "abc" //get: "abc"
Then I want to run it in go language using the exec package
package main
import (
"fmt"
"os/exec"
)
func main() {
cmd1 := "echo abc def"
cmd2 := "echo abc\"edf"
cmd3 := echo abc"edf
cmd4 := echo abc\"edf
cmd5 := "echo abc