Sorry, I got stuck trying to get cpanm to run in my system; without success. (What a steaming pile!)

Have you tried substituting some other command for cpanm? If the substitute doesn't hang it would indicate that it is cpanm; probably a difference in configuration between the systems.

Guesswork here, but from my previous experiences with cpan & cpanp; they tend to make extensive use of Term::* for keyboard handling; providing (crap) history and supposedly "pretty" coloring that makes the output look like a '90s leet hAxoR website -- ie. totally unreadable... {rant grossly abbreviated}

My point is that those modules only seem to "work" on windows if the cmd window sessions are configured with the default settings -- eg. 80x25 screen white on black; no quickedit or tab completion etc. etc. Settings that no one who actually use windows would ever stick with.

My best guess from reading the symptoms is that AWS cmd sessions are not configured with those useless defaults and so Term::* et.al. conflict.

The easy way to test is to replace cpanm with a simple perl script by the same name that just reads the arguments and echos them to both stdout and stderr.

If that works without hanging, you know where to look and what to look for.


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.

In reply to Re: Background proc requires ENTER keystroke on Windows 2012 by BrowserUk
in thread Background proc requires ENTER keystroke on Windows 2012 by stevieb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.