Get results from a Windows .exe from a UNIX box
Moderators: chulett, rschirm, roy
Get results from a Windows .exe from a UNIX box
I'm looking for an elegant way to have a DS job on a UNIX box send a signal to an .exe file on a Windows box and get the standard command output returned to the UNIX box.
-
- Participant
- Posts: 145
- Joined: Fri May 02, 2003 9:59 am
- Location: Seattle, Washington. USA
Microsoft even offers one called Windows Services for Unix http://www.microsoft.com/windowsservers ... fault.mspx
Shawn Ramsey
"It is a mistake to think you can solve any major problems just with potatoes."
-- Douglas Adams
"It is a mistake to think you can solve any major problems just with potatoes."
-- Douglas Adams
Back to the original question.
I guess the most, if not only, elegant way is to use something like ComBridge
http://www.octatec.co.uk/CB_sum.htm which allows you to access COM objects on Windows. This assumes that you have a COM object to run or can write one.
Your original problem stated
So the first thing you need is something like SFU to allow you to run a remote execuable.
The following extract comes from this url http://www.activexperts.com/activmonitor/functions/rsh/
I guess the most, if not only, elegant way is to use something like ComBridge
http://www.octatec.co.uk/CB_sum.htm which allows you to access COM objects on Windows. This assumes that you have a COM object to run or can write one.
Your original problem stated
Of course .exe files are not designed to wait for signals unless they are running so your first problem is to start the executable. Then you have to monitor it waiting for it to complete and then you have to capture its output (from stdout I assume).I'm looking for an elegant way to have a DS job on a UNIX box send a signal to an .exe file on a Windows box and get the standard command output returned to the UNIX box.
So the first thing you need is something like SFU to allow you to run a remote execuable.
The following extract comes from this url http://www.activexperts.com/activmonitor/functions/rsh/
Sounds almost made to order!RSH is a client process that opens connections to rsh daemons, sends a command to be executed on the remote server and retrieves its output, both stdout and stderr.
Jim Paradies