executable

Windows - auto launch specific applications on boot

不打扰是莪最后的温柔 提交于 2019-12-10 19:09:16
问题 Developing a kiosk application in Windows OS. When the machine boots up 3 things have to happen in sequence 1- a node.js server launches 2- the browser containing the web app launches in kiosk mode 3- another client application launches Is there a utlility that easilly accomplishes this, or is there an easy way to do this in the command-line? I'm guessing some type of BSCH script could also be use but I'm not a BSCH expert. 回答1: You could write a script in any language you want to automate

Trying to execute self extracting zip file silently in command line

末鹿安然 提交于 2019-12-10 19:01:52
问题 I have these self extracting zip files that I'm trying to extract on 2008/7 machines remotely. But they are coming in a way of .exe and it require user to double click and choose the extractions location. On WinZip support site they saying to use the /auto flag so the command will look like that: C:\deploy\.exe /auto C:\path\\ It starts the process in the task manager but it stuck there foever. When I'm opening the file in text editor it says: !This program cannot be run in DOS mode. So maybe

How can I compile C files into an executable (.exe) file?

岁酱吖の 提交于 2019-12-10 16:27:41
问题 I am unsure about compiling C files into executables by using Cygwin under Windows 7. Can anyone please tell me how to do this? I've read some tutorials but still don't get it. I understand that I need a Makefile, but what shall I write into it to have an executable file after the compilation process? 回答1: There are several ways to compile c-files. Makefiles are just one possibility. But as you proposed it... Here are two tutorials for Makefiles: http://makepp.sourceforge.net/1.19/makepp

How to make python script executable on osx?

和自甴很熟 提交于 2019-12-10 15:35:51
问题 I just want to make my script as an application. double-click and run instead of running in terminal. I have done it before with automator but now, on el capitan it doesn't work. It only gives error without explanation. When I try with automator I get this error: "The action “Run Shell Script” encountered an error." Also I tried the trick below, still I am not able to do this. #!/usr/bin/env python chmod +x script.py SOLVED: After these two steps. I changed "Open with" to terminal for only

Package an application including java war file, Tomcat, DB

最后都变了- 提交于 2019-12-10 15:31:32
问题 i have a java based web application, i have the source code as well as the war file, the application uses mySql and need some web server like tomcat all to be added to some package that can be directly installed on window and linux machines directly.. i need to setup DB, WebServer, and app in one go. Would be great if it can create services for all as well. is it possible??? i mean the user should just give the location to store and everything should get stored in one go, is it feasible? and

How do I reference the local ruby in a hash-bang executable?

末鹿安然 提交于 2019-12-10 15:30:49
问题 I have a Ruby executable (it's a bundler binstub) which starts with #!/usr/bin/env ruby On my server I have Ruby 193 installed via RVM. $ which ruby -> /home/dtuite/.rvm/rubies/ruby-1.9.3-p0/bin/ruby On my local machine, I also have Ruby installed via RVM, but in a different location (obviously!) $ which ruby -> /Users/davidtuite/.rvm/rubies/ruby-1.9.3-p0/bin/ruby When I try to run this executable on the server I get an error /usr/bin/env: ruby: No such file or directory Is there a way I can

Vb6 application works in the IDE but the executable crashes

删除回忆录丶 提交于 2019-12-10 15:29:47
问题 I have a little problem with visual basic 6 project. Everything works fine in the IDE but the executable crashes every time, when I run the application. The application uses callbacks to communicate with a C++ dll. Even code as simple as showing a message box fails when the callback starts. I changed the compilation mode to P-Code and still the problem persist. Any help would be appreciate. Thank you all 回答1: This sounds like the callbacks may be occurring on a different thread than your

jar file created in netbeans not executing

佐手、 提交于 2019-12-10 15:15:15
问题 I have written some GUI program in netbeans which makes use of swing and it's working fine.I created jar file by right-clicking on project>clean and build and all the resources are included in it from project properties.The jar file in dist folder is executing through commandline using java -jar mig_log.jar but whenever I double click the jar file it says "Could not find the main class.Program will exit". I referred these links but nothing worked out : producing executable jar in netbeans

Is it possible to make a Java executable?

流过昼夜 提交于 2019-12-10 14:57:35
问题 To be clear, by executable I do not mean literal bytes ready for the processor. For example a bash script, which is interpreted and not executable, becomes executable when a shebang is added to the top that specifies the script should be run by /bin/bash or /bin/sh or whatever program will be interpreting it. I was wondering if it's possible to do with Java, which is not technically a scripting language but is definitely not executable. It seems like Java would be hard because the user doesn

How to store data inside the executable file

…衆ロ難τιáo~ 提交于 2019-12-10 12:59:37
问题 I need to find a way to store 250 KB of plain text numbers inside my program's executable file. Usually, I would put the data in a separate file and let the program read it while it is running, but that's not an option here. Instead, the program and the data need to be in one executable file. I have absolutely no idea how to do it (except writing 250.000 #defines :-) and I'd appreciate any suggestions. 回答1: How about an array of some sort. Just put that definition in a file and compile it