Questions tagged [executable]

An executable is a binary file that can be executed by the operating system.

An executable is a binary file that can be executed by the operating system.

3697 questions
117
votes
2 answers

Proper way to add svn:executable

I have a few files that have been executable before svn adding them. They have the svn:executable property set. Now, a few other files were checked in without the executable bit do not have it, and I want to set the svn:executable property: $ svn…
Jake
  • 1,171
  • 2
  • 8
  • 4
117
votes
7 answers

How can I make an EXE file from a Python program?

I've used several modules to make EXEs for Python, but I'm not sure if I'm doing it right. How should I go about this, and why? Please base your answers on personal experience, and provide references where necessary.
minty
  • 22,235
  • 40
  • 89
  • 106
117
votes
9 answers

Determining application path in a Python EXE generated by pyInstaller

I have an application that resides in a single .py file. I've been able to get pyInstaller to bundle it successfully into an EXE for Windows. The problem is, the application requires a .cfg file that always sits directly beside the application in…
Soviut
  • 88,194
  • 49
  • 192
  • 260
115
votes
10 answers

Running .sh scripts in Git Bash

I'm on a Windows machine using Git 2.7.2.windows.1 with MinGW 64. I have a script in C:/path/to/scripts/myScript.sh. How do I execute this script from my Git Bash instance? It was possible to add it to the .bashrc file and then just execute the…
Edvin
  • 1,841
  • 4
  • 16
  • 23
114
votes
11 answers

How to find out which version of the .NET Framework an executable needs to run?

I've got an executable file, and I would like to know which version(s) of the Microsoft .NET Framework this file needs to be started. Is there an easy way to find this information somewhere? (So far I tried ILDASM and DUMPBIN without any luck.)
Sam
  • 28,421
  • 49
  • 167
  • 247
95
votes
3 answers

Adding multiple executables in CMake

My code in a C++ project is organised as follows I have several .cpp and .h files which contains my classes I have several .cxx files which have to be compiled against the .cpp files and some external libraries. Now, each of the .cxx files have a…
ssb
  • 7,422
  • 10
  • 36
  • 61
88
votes
9 answers

Getting the absolute path of the executable, using C#?

Have a look at this pseudocode: string exe_path = system.get_exe_path() print "This executable is located in " + exe_path If I build the above program and place the executable in C:/meow/, It would print out This executable is located in C:/meow/…
user12163
86
votes
7 answers

Automatically apply "git update-index --chmod=+x" to executable files

I frequently add bash scripts to my Git repository, and the scripts have executable permissions in the Linux filesystem prior to the git add. But after pushing the added files to a remote repository and pulling in another location, the files show up…
Byron Hawkins
  • 2,536
  • 2
  • 24
  • 34
85
votes
10 answers

How do I find out which dlls an executable will load?

If I have a Windows executable, how can I find out which dlls it will load? I'm just talking about which ones that will be loaded statically, not ones it might load dynamically with something like LoadLibrary.
David Norman
  • 19,396
  • 12
  • 64
  • 54
85
votes
4 answers

Start an external application from a Google Chrome Extension?

How to start an external application from a Google Chrome Extension? So basically I have an executable file which does the job when you launch it. I need to be able to start it without a window (it is a console application) and pass the current URL…
Kristina
  • 15,859
  • 29
  • 111
  • 181
78
votes
3 answers

Python executables: py2exe or PyInstaller?

To create executable files (windows) I assume that we should use one of them: Py2exe or PyInstaller. What are the difference between them?
trante
  • 33,518
  • 47
  • 192
  • 272
77
votes
4 answers

Difference between extracting and packaging libraries into a jar file

I would like to know the difference between extracting and packaging libraries into a jar file from eclipse with the runnable jar file creation. If my program (runnable jar) uses other classes which require these external libraries(jars), what…
Arian
  • 3,183
  • 5
  • 30
  • 58
75
votes
11 answers

Pyinstaller setting icons don't change

When I use the command: pyinstaller.exe --icon=test.ico -F --noconsole test.py All icons do not change to test.ico. Some icons remain as the pyinstaller's default icon. Why? All icon change in windows 7 32bit windows 7 64bit (make an exe file…
Somputer
  • 1,223
  • 2
  • 11
  • 20
70
votes
6 answers

Getting around Chrome's Malicious File Warning

I created an application which comprises a number of *.exe files. I've packaged these up into an NSIS installer which I hosted on my website. When I try to download it Chrome reports it as potentially malicious. At first I thought it could be the…
user1242165
  • 701
  • 1
  • 6
  • 3
70
votes
13 answers

Embed a JRE in a Windows executable?

Suppose I want to distribute a Java application. Suppose I want to distribute it as a single executable. I could easily build a .jar with both the application and all its external dependencies in a single file (with some Ant hacking). Now suppose I…
perp
  • 3,883
  • 4
  • 31
  • 29