RSS Forums RSS
Please support our Perl advertiser: Programming Forums
Views: 26863 | Replies: 4
Reply
Join Date: Jul 2005
Posts: 2
Reputation: vidya is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
vidya vidya is offline Offline
Newbie Poster

How to execute .exe file from the perl script

  #1  
Jul 15th, 2005
I want to know which command do u use to execute a .exe file from a server machine so that it gets installed on all the connected client machine using perl script.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2005
Location: Cambridge, MA
Posts: 1,330
Reputation: Rashakil Fol has a spectacular aura about Rashakil Fol has a spectacular aura about 
Rep Power: 7
Solved Threads: 44
Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Salamander Man

Re: How to execute .exe file from the perl script

  #2  
Jul 18th, 2005
You need to be more detailed. In general, you can execute executables with backticks. E.g.

There isn't just some "command" in the Perl language that does what you want, though.
Reply With Quote  
Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation: Comatose is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 108
Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Moderator

Re: How to execute .exe file from the perl script

  #3  
Jul 19th, 2005
Not only backticks, but also the command "system" works to execute external files.... you could also use an open command, and open the process with a pipe, but I'm not sure exactly what you mean about having 1 script run the same file on a bunch of machines... if you could be a little more specific it would help a lot.
Reply With Quote  
Join Date: Jul 2005
Posts: 2
Reputation: vidya is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
vidya vidya is offline Offline
Newbie Poster

Re: How to execute .exe file from the perl script

  #4  
Jul 19th, 2005
i found out that there is a command called rshell for remote execution,but it is specific to unix.can anyone let us know how and from where to download the rshell for windows and also the synatx how to use it.
Reply With Quote  
Join Date: Jun 2005
Location: Cambridge, MA
Posts: 1,330
Reputation: Rashakil Fol has a spectacular aura about Rashakil Fol has a spectacular aura about 
Rep Power: 7
Solved Threads: 44
Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Salamander Man

Re: How to execute .exe file from the perl script

  #5  
Jul 19th, 2005
Search on CPAN.

It sounds to me like you're going to need some program running on the client machines, unless you plan on poking through a Windows security hole.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 9:38 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC