Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Background proc requires ENTER keystroke on Windows 2012

by stevieb (Canon)
on Aug 01, 2016 at 19:55 UTC ( [id://1168960]=note: print w/replies, xml ) Need Help??


in reply to Re: Background proc requires ENTER keystroke on Windows 2012
in thread Background proc requires ENTER keystroke on Windows 2012

It isn't just cpanm that hangs. On the server cmd window, I get the executing: ... output, but then to get the output from the backticks command, I have to hit ENTER.

I've been in and out this aft, but when I fully return, I'll test whether the code in the backticks runs and just doesn't return, or ENTER needs to be pressed before the backticks code executes. I'm assuming the former (code runs, but doesn't return without ENTER).

I've tried a few things... including running a CLI instance of perl to output a simple string of text... same result; have to hit ENTER.

Replies are listed 'Best First'.
Re^3: Background proc requires ENTER keystroke on Windows 2012
by BrowserUk (Patriarch) on Aug 01, 2016 at 20:13 UTC
    but then to get the output from the backticks command, I have to hit ENTER.

    What happens if you add a \n in the backticks?


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice.
      "What happens if you add a \n in the backticks?"

      Same effect; on local 2k8 it goes through without having to keystroke, on my AWS 2k12, I have to hit ENTER.

        I'm out of guesses.

        Nothing I am aware of could result in the symptoms you are seeing; which suggests that this is something unique to AWS VMs; and probably only they will solve it.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
        In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1168960]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found