Archer Posted October 6, 2008 Share Posted October 6, 2008 Hi, all I have one .exe file compiled by AutoItV3 placing in the ClearCase server. When I tried to run it, it failed with the prompt of "The system cannot execute the specified program." I checked the Protection tab in Properties of Version in the context menu and found I do have the read and execute access. However, the upx.exe could run successfully. If I copied the .exe file to the local drive, it could be run successfully. Also, I checked the System log in Event viewer in Windows. And I found there were two logs about this error. Please refer the attached snapshot. I doubt there be the problem with the priviledge but I don't know how to deal with it. Could you please give me some ideas? The script is below only would like to close the window and kill the process. ---------------------------------------------- Const $CmdLogW_Title = "CmdLogW" Const $LogBckO2_Name = "LogBckO2.exe" If WinExists($CmdLogW_Title) Then WinClose($CmdLogW_Title) WinWaitNotActive($CmdLogW_Title) EndIf If ProcessExists($LogBckO2_Name) Then Sleep(2000) If ProcessExists($LogBckO2_Name) Then ProcessClose($LogBckO2_Name) ProcessWaitClose($LogBckO2_Name) EndIf EndIf --------------------------------------------- Link to comment Share on other sites More sharing options...
Archer Posted October 7, 2008 Author Share Posted October 7, 2008 Any suggestions? Link to comment Share on other sites More sharing options...
ProgAndy Posted October 7, 2008 Share Posted October 7, 2008 Hmm, can you run Windowed apps on ClearCase? If not, you have to specify using the console. #AutoIt3Wrapper_Change2CUI=y *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
Archer Posted October 8, 2008 Author Share Posted October 8, 2008 Hmm, can you run Windowed apps on ClearCase? If not, you have to specify using the console.#AutoIt3Wrapper_Change2CUI=yErr, for AutoIt3 Windowed apps, I have not try. But for C# apps, I can.Just now I did what you said that using the console but still failed. Err, weird thing........ Link to comment Share on other sites More sharing options...
LarryDalooza Posted October 8, 2008 Share Posted October 8, 2008 ClearCase "Server" ... does this mean that there is a "client" that runs the apps? The client needs to be set to let the EXE run as the logged on user or with "desktop access". Sometimes these things run as "SYSTEM" or some restricted account. Lar. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
Archer Posted October 8, 2008 Author Share Posted October 8, 2008 ClearCase "Server" ... does this mean that there is a "client" that runs the apps? The client needs to be set to let the EXE run as the logged on user or with "desktop access". Sometimes these things run as "SYSTEM" or some restricted account.Lar.The user, who runs it, has already been joined into Administrator Group. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now