Lines Matching refs:Cmd
194 cmd string
201 cmd := r.cmd
203 cmd = "@" + cmd
206 cmd = "-" + cmd
208 return cmd
231 r.cmd = s
237 if strings.IndexByte(r.cmd, '$') < 0 {
242 expr, _, err := parseExpr([]byte(r.cmd), nil, parseOp{})
244 return nil, ev.errorf("parse cmd %q: %v", r.cmd, err)
253 glog.V(1).Infof("evalcmd: %q => %q", r.cmd, cmds)
255 for _, cmd := range strings.Split(cmds, "\n") {
256 if len(runners) > 0 && strings.HasSuffix(runners[len(runners)-1].cmd, "\\") {
257 runners[len(runners)-1].cmd += "\n"
258 runners[len(runners)-1].cmd += cmd
261 runners = append(runners, r.forCmd(cmd))
268 fmt.Printf("%s\n", r.cmd)
270 s := cmdline(r.cmd)
276 cmd := exec.Cmd{
280 out, err := cmd.CombinedOutput()
318 for _, cmd := range n.Cmds {
319 rr, err := r.eval(ctx.ev, cmd)
324 if len(r.cmd) != 0 {