Console not working



  • notepad++ isn’t letting me see the output of my code. The console flashes on my screen fast enough that if there were anything written on it I wouldn’t be able to tell (though I’m fairly certain that it’s blank). I’ve tested my code elsewhere and it works but it’s not even letting me see the output of simple print statements! has anyone else had this problem? Is there a solution?



  • Hello @Ezri-Wyman,

    I assume you use the run->run feature to run your script.
    If so, did you call cmd implicitly and with parameter /k ?

    Cheers
    Claudia



  • I didn’t, I don’t quite understand how to do so. I’m terribly sorry



  • Hello @Ezri-Wyman,

    how do you start your code(script/program)?
    What did you configure to get the console started?

    When you use the menu run, there is an entry called run again.
    Normally the F5 accelerator is assigned to this.
    If you use Run->run then a run dialog opens and you can put
    in a program/script which should get executed.
    If this exe or script needs to be run within a shell, you need to call
    the cmd with the parameter /k to keep it open after execution.
    So something like

    cmd /k YOUR_PROG_OR_SCRIPT 
    

    Cheers
    Claudia



  • thank you! that works


Log in to reply