Hello, I’m using sublime script for cpp building that looks like this:
{ "cmd": ["g++.exe", "${file}", "-o", "${file_path}/${file_base_name}.exe", "&&" , "start","${file_base_name}.exe"], "shell":true }
Works fine in general but is there any way to make console stay after program is finished, as now it automatically closes after program ends.
Tried adding “/K” and “Pause” to this script but it either bricks it or just doesn’t work