Command Prompt random pause











up vote
1
down vote

favorite












I am developing a site using Node.js and MongoDB, both of which are run from the Windows Command Prompt. Occasionally one or both of the programs freezes (no output to console, not accepting incoming connections etc.) often within a few seconds of starting up. Typing any key into the console will unfreeze it and it seems to resume where it left off (connections will complete and any output will be printed).



Note: This is not a problem with my program, in no place do I wait for any keyboard input and it seems to occur fairly randomly, not in a fixed place.










share|improve this question














bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    up vote
    1
    down vote

    favorite












    I am developing a site using Node.js and MongoDB, both of which are run from the Windows Command Prompt. Occasionally one or both of the programs freezes (no output to console, not accepting incoming connections etc.) often within a few seconds of starting up. Typing any key into the console will unfreeze it and it seems to resume where it left off (connections will complete and any output will be printed).



    Note: This is not a problem with my program, in no place do I wait for any keyboard input and it seems to occur fairly randomly, not in a fixed place.










    share|improve this question














    bumped to the homepage by Community 2 days ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I am developing a site using Node.js and MongoDB, both of which are run from the Windows Command Prompt. Occasionally one or both of the programs freezes (no output to console, not accepting incoming connections etc.) often within a few seconds of starting up. Typing any key into the console will unfreeze it and it seems to resume where it left off (connections will complete and any output will be printed).



      Note: This is not a problem with my program, in no place do I wait for any keyboard input and it seems to occur fairly randomly, not in a fixed place.










      share|improve this question













      I am developing a site using Node.js and MongoDB, both of which are run from the Windows Command Prompt. Occasionally one or both of the programs freezes (no output to console, not accepting incoming connections etc.) often within a few seconds of starting up. Typing any key into the console will unfreeze it and it seems to resume where it left off (connections will complete and any output will be printed).



      Note: This is not a problem with my program, in no place do I wait for any keyboard input and it seems to occur fairly randomly, not in a fixed place.







      windows command-line windows-10 node.js mongodb






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 12 '16 at 1:32









      user2248702

      140110




      140110





      bumped to the homepage by Community 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Command prompt will freeze if you click on inside the window... It does this to allow you to select text.. If this is the case you will the the title changed to "Select Command prompt when this occurs"



          right clicking or typing will resume it






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1051821%2fcommand-prompt-random-pause%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Command prompt will freeze if you click on inside the window... It does this to allow you to select text.. If this is the case you will the the title changed to "Select Command prompt when this occurs"



            right clicking or typing will resume it






            share|improve this answer

























              up vote
              0
              down vote













              Command prompt will freeze if you click on inside the window... It does this to allow you to select text.. If this is the case you will the the title changed to "Select Command prompt when this occurs"



              right clicking or typing will resume it






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                Command prompt will freeze if you click on inside the window... It does this to allow you to select text.. If this is the case you will the the title changed to "Select Command prompt when this occurs"



                right clicking or typing will resume it






                share|improve this answer












                Command prompt will freeze if you click on inside the window... It does this to allow you to select text.. If this is the case you will the the title changed to "Select Command prompt when this occurs"



                right clicking or typing will resume it







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 12 '16 at 3:08









                konzo

                18317




                18317






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1051821%2fcommand-prompt-random-pause%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                    Eduardo VII do Reino Unido