So what I'm making right now is a Minecraft controller that can be controlled through Node.js. I have the server hosted on my local machine so I can run commands through a command prompt. I have the command prompt down, but how can I run the command prompt, and keep it open for later use so I can run commands after its started up?
I found 1 questions, but both answers don't meet my needs, because in this one (Keep CMD open after BAT file executes) it has it so you can look at any errors or what it did after it started. I also think it has something to do with child_process, and I looked at the Node.js documentary for child_process (https://nodejs.org/api/child_process.html) but I don't understand it too well.