How to display terminal window? #251
-
Obsidian v0.15.9 I need to press Ctrl + C to stop this command in terminal window |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
SC does not have an actual feature for displaying the terminal window. Now that I think of it, I'd actually like to have it, but I don't know how to implement it. I'd like to have some kind of toggleable setting Display console window, but I'm not sure how to implement it in Node.js's A workaroundYou can probably try this kind of ugly workaround that works in Windows: Explanation: Please let me know if this is of any help. 🙂 |
Beta Was this translation helpful? Give feedback.
SC does not have an actual feature for displaying the terminal window. Now that I think of it, I'd actually like to have it, but I don't know how to implement it. I'd like to have some kind of toggleable setting Display console window, but I'm not sure how to implement it in Node.js's
child_process
.A workaround
You can probably try this kind of ugly workaround that works in Windows:
As your shell command is
hexo s
, try to change it to:start powershell "-NoExit -Command hexo s"
Explanation:
start powershell
opens up a PowerShell terminal window."-NoExit -Command hexo s"
tells the terminal window not to close after executing the command (maybe not needed in your case, because your comman…