Lines Matching defs:action
25 * send an action to the coshell for execution
106 request(register Coshell_t* co, Cojob_t* cj, Coservice_t* cs, const char* action, int flags)
122 errormsg(state.lib, ERROR_LIBRARY|2, "job %d commands:\n\n%s %s\n", cj->id, cs->name, action);
124 sfprintf(sfstderr, "+ %s %s\n", cs->name, action);
125 sfprintf(sp, "id=%d %s\n", cj->id, action);
127 action = sfstrbase(sp);
128 while ((i = write(cs->fd, action, n)) > 0 && (n -= i) > 0)
129 action += i;
149 coexec(register Coshell_t* co, const char* action, int flags, const char* out, const char* err, const char* att)
200 for (s = cs->name, t = (char*)action; *s && *s == *t; s++, t++);
208 * package the action
215 n = strlen(action);
233 sfprintf(sp, " (%d:%s) (%d:%s)\n", strlen(env), env, n, action);
241 action,
263 sfputr(sp, action, -1);
266 coquote(sp, action, 0);
338 sfprintf(sp, "%s", action);
341 coquote(sp, action, 0);