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.

Windows exe file fails when triggered from ssh

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Windows exe file fails when triggered from ssh


I am triggering a windows exe file using the below command.

ssh user@remoteserver command.exe -option1:xx /option2:yy

This command is working fine from windows command prompt. When I am triggering the same command from ssh I get the error message cant load
QBWMAINN: Could not load ZIP4_W32 -- OK
Any ideas to deal with this situation?


---------- Post updated at 08:02 PM ---------- Previous update was at 07:32 PM ----------

I fixed this issue by routing the command through windows command prompt and using the command start. but now the difficulty is the program starts but the screen is not held but released. So, I am not able to figure out a way to see how to check if the command is still running or now.
# 3  
Not sure how you are actually running your command are you trying
ssh user@remoteserver cmd.exe /C yourcommand.exe -option1:xx /option2:yy

If yourcommand.exe is a windows GUI executable you may have some issues running it from and ssh session. The sshd process is likely to be running as a windows service and GUI components are not typically allowed to be spawned services.
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
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
UNIX for Beginners Questions & Answers
how can I get to know what threads run within process java.exe on windows
I am writing java application on windows. There are more than 100 threads run within java.exe. I want to know what threads run within process java.exe so that I can find out if there are abnormal java threads.... Programming
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...... UNIX for Advanced & Expert Users
UNIX for Advanced & Expert Users
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. ...... Programming

Featured Tech Videos