Skip to content

Frequently Asked Questions

Does taskwarrior-tui show error messages when running shell commands or shortcuts?

Section titled “Does taskwarrior-tui show error messages when running shell commands or shortcuts?”

taskwarrior-tui shows an error prompt for shell commands if:

  1. The subprocess fails.
  2. The subprocess succeeds but prints to stdout.
  3. The subprocess command is empty.

taskwarrior-tui shows an error prompt for shortcuts if:

  1. The shortcut fails.

If taskwarrior-tui encounters a prompt from a subprocess or shortcut, it will not prompt the user for input again. That means if you want to run a taskwarrior command as a shell command, you may want to pass rc.confirmation=off in the command.

See the following screencast as an example:

Terminal window
task rc.confirmation=off context define test project:work

If you do not add rc.confirmation=off in the shell command, taskwarrior-tui will run the command but it will fail because it cannot respond to the interactive prompt.

How do I debug startup failures, crashes, or performance issues?

Section titled “How do I debug startup failures, crashes, or performance issues?”

See Troubleshooting for a step-by-step guide to collecting logs, comparing taskwarrior command timings, isolating path-specific issues, and filing a useful GitHub issue.