Trying remove single quotes

This commit is contained in:
Nex 2016-10-21 12:36:58 +02:00
parent 1534b109ae
commit dd3cbcc611
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ func (p *Process) Exe() (string, error) {
return "", err
}
cmd := []string{"-p", strconv.Itoa(int(p.Pid)), "-Fn", "|", "awk", "'NR==3{print}'", "|", "sed", "'s/n\\//\\//'"}
cmd := []string{"-p", strconv.Itoa(int(p.Pid)), "-Fn", "|", "awk", "NR==3{print}", "|", "sed", "s/n\\//\\//"}
fmt.Println(strings.Join(cmd, " "))