• Login
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.
  • E
    Ezri Wyman
    last edited by Mar 3, 2016, 12:03 AM

    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?

    C 1 Reply Last reply Mar 3, 2016, 3:38 PM Reply Quote 0
    • C
      Claudia Frank @Ezri Wyman
      last edited by Mar 3, 2016, 3:38 PM

      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
      • E
        Ezri Wyman
        last edited by Mar 4, 2016, 4:10 AM

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

        C 1 Reply Last reply Mar 4, 2016, 1:04 PM Reply Quote 0
        • C
          Claudia Frank @Ezri Wyman
          last edited by Mar 4, 2016, 1:04 PM

          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
          • E
            Ezri Wyman
            last edited by Mar 5, 2016, 6:57 AM

            thank you! that works

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