Trying remove single quotes
This commit is contained in:
parent
1534b109ae
commit
dd3cbcc611
|
@ -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, " "))
|
||||
|
||||
|
|
Loading…
Reference in New Issue