Lines Matching defs:run
471 // Is this command a builtin that should run in this process?
620 // run a series of "command | command && command" with redirects.
1028 // run a shell function, handling flow control statements
1035 int run, loop, *redir;
1046 //dprintf(2, "s=%s %s %d %s %d\n", s, ss, pl->type, blk ? blk->start->arg->v[0] : "X", blk ? blk->run : 0);
1079 else if (blk->run) toys.exitval = run_pipeline(&pl, blk->redir);
1090 if (blk && !blk->run) {
1102 blk->run = 1;
1140 if (!strcmp(s, "then")) blk->run = blk->run && !toys.exitval;
1141 else if (!strcmp(s, "else") || !strcmp(s, "elif")) blk->run = !blk->run;
1144 if (!strcmp(ss, "while")) blk->run = blk->run && !toys.exitval;
1145 else if (!strcmp(ss, "until")) blk->run = blk->run && toys.exitval;
1147 blk->run = 0;
1160 if (blk->run && !strcmp(s, "done")) {