obsidian-shellcommands icon indicating copy to clipboard operation
obsidian-shellcommands copied to clipboard

Show an error message if a shell command is too long to execute

Open Taitava opened this issue 3 years ago • 0 comments

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

Originally posted by Taitava September 11, 2022 When creating tests for {{file_content}} and {{note_content}} variables, I noticed that at least Windows PowerShell has some (unknown) max limit for how long a shell command can be. This resulted in an exception in JavaScript's console, i.e. not as a visible error message.

I'll make the SC plugin to notice this exception and show it clearly to users.

Taitava avatar Sep 11 '22 11:09 Taitava