how to start a c++ exe on unix from windows.

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Old 08-31-2005
how to start a c++ exe on unix from windows.

I'm very new to c++ & unix programming. I have a c++ exe that runs on the unix box, but I am trying to write a c++ windows app that executes the program on unix. I have tried execv(), but it doesn't seem to work or I'm doing something wrong. Would really like to see examples if at all possible. I have not been able to find anything in my online searches yet.
# 2  
Old 08-31-2005
I'm confused. An exe meant for Windows cannot run under Unix. An exe meant for Windows cannot run on Unix.

Are you talking about remote execution or something?
# 3  
Old 08-31-2005
kicking off exe on unix from windows

Yes- I guess that would be remote execution. Let me try to clarify.
I have an exe on the unix box that I want to start from my pc. The executuable on the backend is a load simulating program(called Loadtest.exe) so I'll actually be starting multiple instances of it. There could be 1500 Loadtest processes running at once. I'm currently writing the win32 app in vc++ that will hopefully be able to do this. It will be some type of scheduler application that tells the loadtest.exe to start x number of processes every t minute.
# 4  
Old 09-14-2007
Boy. I'm surprised no one has answered this yet.Smilie

I've started down this project again. Anyone have any thoughts?

Let me describe again...

I have C++ program that runs on a back-end unix machine. We usually have a KSH that iterates and invokes several iterations of the program. (it's used to simulate load on the system). I'd like to replace the use of KSH scripts with an app running on a windows PC that could invoke the C++ program on the back-end unix system.
# 5  
Old 09-15-2007
Running unix exe from windows


It seems that you need a kind of software that enables you to login to unix from windows and execute any command there. Well I have seen the following options,

1. Procom plus.

2. Humming Bird Exceed, this software has a wonderful interface in which you provide login info and where your executable exists and then start it.
(Excellent candidate)

3. I do not know if you have any programming knowledge in Java, but one of my friends managed to write aprogram to help him in solving such problems.

Best regards,
# 6  
Old 09-16-2007
Use Putty's plink.exe which is basically an ssh client to run the server program through sshd.
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Windows exe file fails when triggered from ssh ahmedwaseem2000 Shell Programming and Scripting 2 02-04-2014 02:37 PM
Customizing XUbuntu 12.04 Live CD - Start my Exe Automatically selvarajvss Ubuntu 1 12-27-2012 12:40 PM
How to run exe files in unix Ganesh_more Shell Programming and Scripting 6 09-17-2012 04:23 AM
Start windows application (.bat) from Unix pkan Windows & DOS: Issues & Discussions 6 06-13-2012 07:02 PM
Need to run UNIX exe on apple dam1197 OS X (Apple) 1 05-18-2009 01:38 PM
how can I get to know what threads run within process java.exe on windows mika Programming 4 05-16-2009 04:49 AM
compile .exe, run in unix. hkullana UNIX for Dummies Questions & Answers 2 02-23-2009 07:22 AM
Multiple instances of windows exe from unix sam99 UNIX for Advanced & Expert Users 2 01-08-2009 04:11 AM
Is it possible to run .exe in unix vikashtulsiyan UNIX and Linux Applications 2 02-06-2008 05:57 PM
want to login remotly to server and start exe getdpg Shell Programming and Scripting 1 03-18-2006 11:42 PM
start windows appl. from unix Dplancke UNIX Desktop Questions & Answers 9 07-24-2005 03:12 PM
how To edit exe to insert a serial no wich can be usd by runing exe ssahu Programming 6 10-24-2003 05:40 PM
Running EXE files on UNIX seanstog UNIX for Dummies Questions & Answers 1 02-05-2002 06:19 AM