Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


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


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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  
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  
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  
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  
Running unix exe from windows

Dear,

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  
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
Seen Windows pc, having all the features of Linux, could exe, read and edit save like windows
jraju
Hi, totally new to linux base using windows when started learning and using computers. but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening...... UNIX for Beginners Questions & Answers
8
UNIX for Beginners Questions & Answers
Start windows application (.bat) from Unix
pkan
How can I start an application sitting on a windows machine (XP) from Unix shell script (AIX server) ?... Windows & DOS: Issues & Discussions
6
Windows & DOS: Issues & Discussions
Multiple instances of windows exe from unix
sam99
Hi, I have a requirement to run multiple instances of an .exe file present in windows server from unix machine. The number of threads to be invoked is determined dynamically based on a variable field. We will be passing some parameters to windows .exe file for each instance. I am a unix...... UNIX for Advanced & Expert Users
2
UNIX for Advanced & Expert Users
want to login remotly to server and start exe
getdpg
Hello Unix Guru I need help to write the shell script My requirement is i have to start exe in unix hosts ( 20 unix server) through shell script . currently i have to login to all host rlogin -l testadmin servername /users/testadmin/bolt/ source boltsrc ./executor start ...... Shell Programming and Scripting
1
Shell Programming and Scripting
start windows appl. from unix
Dplancke
Is it possible to start a windows applications such as mail merge in word from a unix machine (sco-unix, digital osf). Why to do this ? Most people known word to create nice documents, but we want to print this documents with our information (name, adresses etc.. like a mailing. This info...... UNIX Desktop Questions & Answers
9
UNIX Desktop Questions & Answers

Featured Tech Videos