Taitava / obsidian-shellcommands

Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
GNU General Public License v3.0
348 stars 11 forks source link

Settings: 'Execute now' button: Ctrl/Cmd + click to temporarily direct output to the 'Ask after execution' modal #241

Closed Taitava closed 2 years ago

Taitava commented 2 years ago

Discussed in https://github.com/Taitava/obsidian-shellcommands/discussions/174

Originally posted by **Taitava** March 5, 2022 `Ctrl`/`Cmd` + click on the _Execute now_ icon could ease up testing by defining that `stdout` and `stderr` outputs should be directed to the [Ask after execution modal](https://publish.obsidian.md/shellcommands/Output+handling/Output+channel+-+Ask+after+execution) regardless of what the shell command's normal output channels happen to be. Then it would be easy to debug why a shell command does not give the correct output e.g. when normally using [Open a file](https://publish.obsidian.md/shellcommands/Output+handling/Output+channel+-+Open+a+file) output channel, by temporarily using the above-mentioned modal instead of _Open a file_.
Taitava commented 2 years ago

Done, will be released in 0.14.0.