Frequently Asked Questions (FAQs)
Does taskwarrior-tui show error messages when running shell commands or shortcuts
taskwarrior-tui shows an error prompt for shell if:
- the subprocess fails
- the subprocess succeeds but prints to stdout
- the subprocess is empty
taskwarrior-tui shows an error prompt for shortcuts if:
- the shortcut fails
If taskwarrior-tui encounters a prompt by the subprocess or the shortcut, taskwarrior-tui will not prompt the user for input again.
This 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:
task rc.confirmation=off context define test project:work
If you don't add rc.confirmation=off in the shell command, taskwarrior-tui will command the command but it'll fail because it won't receive any prompt.