Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Fire a script on Windows from Linux

by Limbic~Region (Chancellor)
on Jun 26, 2014 at 15:11 UTC ( #1091366=note: print w/replies, xml ) Need Help??


in reply to Fire a script on Windows from Linux

TechFly,
Let me give you a somewhat unconventional answer - use a web page. You can use IIS and whatever CGI available on the box (Actionscript, Asp, PHP, Perl, etc). Create a simple web form that when submitted tells the windows box what to do. The form can then render a page with the results that the remote process can parse for feedback.

This may seem like a lot more work than is necessary and depending on your "powers that be" may not be acceptable. On the other hand, by divorcing the direct interaction you create the ability to be implementation agnostic.

This same concept could be done in a myriad of ways. For instance, if both hosts shared a file system (Samba, NFS, etc) then you could communicate by placing files in the directory and having processes on each end monitor for.

Cheers - L~R

  • Comment on Re: Fire a script on Windows from Linux

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1091366]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2018-07-16 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (333 votes). Check out past polls.

    Notices?