Community
    • Login

    Console not working

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 4.0k Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              Ezri Wyman
              last edited by

              thank you! that works

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors