Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Running an executable on a Unix machine from a Windows machine.

by pankaj_it09 (Scribe)
on Feb 09, 2010 at 06:18 UTC ( [id://822141]=perlquestion: print w/replies, xml ) Need Help??

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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Running an executable on a Unix machine from a Windows machine.
by ikegami (Patriarch) on Feb 09, 2010 at 07:18 UTC

    Unix can't execute Windows executables.

    But let's say it's something the unix system could run (e.g. a Perl script). First, you need to transfer the file over to the unix machine by some means (scp, ftp, http, smb, nfs, etc) or mount the Windows drive on the unix machine by some means. Then you'd have to get the unix machine to launch the executable by some means (ssh, http, etc).

    The possibilities are pretty much endless. I'd go with scp to transfer and ssh to execute. What's the problem?

Re: Running an executable on a Unix machine from a Windows machine.
by helgi (Hermit) on Feb 09, 2010 at 13:59 UTC
    I sense an XY question here.
    It might be better to explain more precisely what it is you want to accomplish.


    --
    Regards,
    Helgi Briem
    hbriem AT f-prot DOT com
Re: Running an executable on a Unix machine from a Windows machine.
by jethro (Monsignor) on Feb 09, 2010 at 12:13 UTC
    Note that you can execute a lot of windows exe files on some unixes with the help of Wine, a windows emulator. See http://www.winehq.org
Re: Running an executable on a Unix machine from a Windows machine.
by cdarke (Prior) on Feb 09, 2010 at 13:07 UTC
    The format of a Windows EXE file is proprietry to Microsoft so UNIX cannot execute that format - come to that, Windows cannot execute UNIX executables either (without an emulation layer).

    Of course, if you are using Open Source then there should be no problem - just take the source code from the Windows machine and compile on UNIX - simples!

    Of course it isn't that easy, but the principle is there - get a UNIX version of the executable and if there isn't one then build it yourself.
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-03-29 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found