Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

How do I execute a perl exe on a remote machine via short-cut

( #173555=categorized question: print w/ replies, xml ) Need Help??
Contributed by Xtrac on Jun 11, 2002 at 16:46 UTC
Q&A  > programs and processes


Description:

I've created a program to do a job on my machine, it works fine(on my machine). I used perl2exe to convert it to an exe and placed it on one of our servers. When I try to run (double-click) it (the exe) on the share on the server (from my desktop) it fails, but if I rcmd or go to the server physically it runs fine. How do i get it to run on the server when the exe is accesed from a shared drive? -Xtrac

Answer: How do I execute a perl exe on a remote machine via short-cut
contributed by pepik_knize

When on Windows, if you only double-click on something on a shared drive, it attempts to run the program on the machine you're connecting from. For example, if you try to open an excel file, it'll fail if your local machine doesn't have excel installed. So what's happening is your script is running on the wrong machine, so it fails. You will either need to login (ssh) or set up the equivalent of a cron job. I believe you can do both options with cygwin.

Answer: How do I execute a perl exe on a remote machine via short-cut
contributed by Anonymous Monk

not all files on a shared drive can be executed espacially on unix systems. the user must log-in the remote system via a terminal emulator (telnet)

Please (register and) log in if you wish to add an answer



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others rifling through the Monastery: (7)
    As of 2014-10-02 09:37 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      What is your favourite meta-syntactic variable name?














      Results (52 votes), past polls