I’m using a batch file to schedule a .js bot. The bot is exiting his process after he is done with his job but using the batch cmd window as log output.
process.exit(1) to exit his process.
My problem now is that the cmd window wont close automatically but needs an input to do so:
Press Enter or Esc to close console...
cd "[path]" node bot.js exit
Thanks to Anon Coward for his/her advice, the settings of ConEmu screwed me over.