Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by Xtrac (Initiate)
on Jun 11, 2002 at 16:46 UTC ( #173555=perlquestion: print w/replies, xml ) Need Help??

Xtrac has asked for the wisdom of the Perl Monks concerning the following question:

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

Originally posted as a Categorized Question.

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

Replies are listed 'Best First'.
Re: How do I execute a perl exe on a remote machine via short-cut
by pepik_knize (Scribe) on Jun 14, 2002 at 06:13 UTC
    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.
Re: How do I execute a perl exe on a remote machine via short-cut
by Anonymous Monk on Jun 14, 2002 at 02:58 UTC
    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)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2021-04-18 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?