| 2519 | } |
| 2520 | |
| 2521 | static void sh_command(sh_t *s, TSNode cmd) { |
| 2522 | sh_walk_substs(s, cmd); |
| 2523 | sh_argv_t a = {0}; |
| 2524 | sh_argv_build(s, cmd, &a); |
| 2525 | if (!sh_chdir(s, &a)) { |
| 2526 | sh_src_t out; |
| 2527 | sh_deploy_command(s, cmd, &a, NULL, &out); |
| 2528 | sh_spawn(s, cmd, &a); |
| 2529 | sh_build(s, cmd, &a); |
| 2530 | sh_http(s, cmd, &a); |
| 2531 | } |
| 2532 | sh_argv_free(&a); |
| 2533 | } |
| 2534 | |
| 2535 | /* The redirects of a statement: `cat <<EOF | kubectl ...` -- the rest of |
| 2536 | * that pipe follows the heredoc start, inside the redirect, and reads the |
no test coverage detected