Community
    • Login

    Console not working

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 3.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ezri WymanE
      Ezri Wyman
      last edited by

      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?

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Ezri Wyman
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • Ezri WymanE
          Ezri Wyman
          last edited by

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

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC
            Claudia Frank @Ezri Wyman
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • Ezri WymanE
              Ezri Wyman
              last edited by

              thank you! that works

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors