01-08-2009
Multiple instances of windows exe from unix
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 novice.It would be very helpful if you could provide a sample shell script for that.
Appreciate your fast response
regards,
sam
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I would like to start up multiple instances of syslog daemon. I am having a little difficulty. Is this at all possible?
I have separate syslog.conf1.... syslog.conf5 files.
I have linked the daemon to separate files syslogd1 ... syslogd5
I have arranged the rcd.2 start/stop scripts for... (9 Replies)
Discussion started by: Gary Dunn
9 Replies
2. UNIX for Dummies Questions & Answers
I am capturing text based reports with a specific program, which works no problem. However, since I send report warehouse output as they are migrated from the database software, on occasion when two capture process' initiate simultaneously, the capture file locks up. Is there a way to setup (in... (1 Reply)
Discussion started by: gozer13
1 Replies
3. Shell Programming and Scripting
Hi Gurus
I have a requirement like this. i use solaris OS..
if there are 2 instances of the same ksh file running in the directory, i need to kill the ksh file that started to run latest.
suppose ragha.ksh starts running thru cron in abc/xyz directory
now ragha.ksh started running by any... (3 Replies)
Discussion started by: ragha81
3 Replies
4. Programming
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. ... (5 Replies)
Discussion started by: ch5082
5 Replies
5. Shell Programming and Scripting
Could you please let me know how to create/make a multiple instances of a job/process in ksh(shell scripting).
i.e., at present the parent script is calling another child/dependent script for only once.
What we want is, the parent script itself has to execute multiple times, and in each one it... (1 Reply)
Discussion started by: Gangegowda
1 Replies
6. Shell Programming and Scripting
Hi,
This is my text file I'm trying to Grep.
Apple Location Greenland Rdsds dsds fdfd ddsads http Received Return Immediately Received End
My Grep command:
grep only--matching 'Location.*Received'
Because the keyword Received appears twice, the Grep command will stop at the last... (3 Replies)
Discussion started by: spywarebox
3 Replies
7. Programming
Hello. This shouldn't be an unusual problem, but I cannot find anything about it at google or at other search machine.
So, I've made an application using C++ and QtCreator. I 've made a new mime type for application's project files.
My system (ubuntu 10.10), when I right click a file and I... (3 Replies)
Discussion started by: hakermania
3 Replies
8. Programming
Suppose I declare
pthread_t clear_thread;
and then
pthread_create(&clear_thread, &detach, clear_message, this);
the thread is supposed to go away, perform the service it is intended to procide, and then kill itself.
A little while later, I require this service again, so I say
... (2 Replies)
Discussion started by: clerew
2 Replies
9. UNIX for Beginners Questions & Answers
I have a db server with two instances...trying to create an expect script that will scan both the listener and the alert log files and retrieve their sizes.
Issue we have is that the .profile is hard coded with one of the databases name and script is always pulling from the same instance (testdb1)... (1 Reply)
Discussion started by: donpasscal
1 Replies
10. UNIX for Beginners Questions & Answers
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... (8 Replies)
Discussion started by: jraju
8 Replies
LEARN ABOUT ULTRIX
xunmapsubwindows
XUnmapWindow(3X11) MIT X11R4 XUnmapWindow(3X11)
Name
XUnmapWindow, XUnmapSubwindows - unmap windows
Syntax
XUnmapWindow(display, w)
Display *display;
Window w;
XUnmapSubwindows(display, w)
Display *display;
Window w;
Arguments
display Specifies the connection to the X server.
w Specifies the window.
Description
The function unmaps the specified window and causes the X server to generate an event. If the specified window is already unmapped, has no
effect. Normal exposure processing on formerly obscured windows is performed. Any child window will no longer be visible until another
map call is made on the parent. In other words, the subwindows are still mapped but are not visible until the parent is mapped. Unmapping
a window will generate events on windows that were formerly obscured by it.
can generate a error.
The function unmaps all subwindows for the specified window in bottom-to-top stacking order. It causes the X server to generate an event
on each subwindow and events on formerly obscured windows. Using this function is much more efficient than unmapping multiple windows one
at a time because the server needs to perform much of the work only once, for all of the windows, rather than for each window.
can generate a error.
Diagnostics
A value for a Window argument does not name a defined Window.
See Also
XChangeWindowAttributes(3X11), XConfigureWindow(3X11), XCreateWindow(3X11), XDestroyWindow(3X11), XMapWindow(3X11) XRaiseWindow(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XUnmapWindow(3X11)