Lines Matching refs:rawCommand
32 rawCommand string var
41 flag.StringVar(&rawCommand, "c", "",
100 if rawCommand == "" {
155 if !strings.Contains(rawCommand, "__SBOX_DEPFILE__") {
158 …rawCommand = strings.Replace(rawCommand, "__SBOX_DEPFILE__", filepath.Join(tempDir, sandboxedDepfi…
176 if strings.Contains(rawCommand, "__SBOX_OUT_DIR__") {
177 rawCommand = strings.Replace(rawCommand, "__SBOX_OUT_DIR__", tempDir, -1)
180 if strings.Contains(rawCommand, "__SBOX_OUT_FILES__") {
188 rawCommand = strings.Replace(rawCommand, "__SBOX_OUT_FILES__", pathsText, -1)
199 commandDescription := rawCommand
201 cmd := exec.Command("bash", "-c", rawCommand)