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
20
votes
5 answers

IndexError: tuple index out of range when I try to create an executable from a python script using auto-py-to-exe

I have been trying out an open-sourced personal AI assistant script. The script works fine but I want to create an executable so that I can gift the executable to one of my friends. However, when I try to create the executable using the…
DevLearner
  • 369
  • 3
  • 11
20
votes
2 answers

Host executables on GitHub?

I want to distribute executables along with my source. My source is all hosted tidily on GitHub. Is it possible to add executables and installers to my GitHub project page without adding them to my git repository? Note, for some reason GitHub…
AndyL
  • 14,302
  • 14
  • 43
  • 70
20
votes
1 answer

Windows 10 : naming programs main.exe cause them to show pop up

On windows 10 when we create a program named main.exe or rename a program to main.exe, the program will show a pop up as seen here : There is 2 different pop up than can be shown : -the game bar one (French and English version): -the…
Ether Frog
  • 315
  • 1
  • 9
20
votes
2 answers

Reduce size of executable produced by GHC

Using GHC version 7.4.2 with flags like -O3, I still get huge executable produced. I understand that GHC does static linking, and dependencies of the binary looks like: linux-vdso.so.1 (0x00007fff49bff000) libpcre.so.1 =>…
jdevelop
  • 12,176
  • 10
  • 56
  • 112
19
votes
17 answers

Producing executable jar in NetBeans

I'm using NetBeans 6.5 and for some reason it won't produce executable jar "out of the box". I set my project to be the main project, defined main class in the project properties "run" menu and it works flawlessly when I press F6 to run it. I looked…
Dani
  • 4,267
  • 4
  • 29
  • 37
19
votes
1 answer

What is zero-byte executable files in Windows

I've noticed some zero-bytes executable in folder %USERPROFILE%\AppData\Local\Microsoft\WindowsApps created during install some applications. What are they? How can I create and call it in the same way as Windows does? Thank…
Cuong Nguyen
  • 209
  • 2
  • 3
19
votes
6 answers

pyinstaller command not found

I am using Ubuntu on VirtualBox. How do I add pyinstaller to the PATH? The issue is when I say pyinstaller file.py it says pyinstaller command not found It says it installed correctly, and according to other posts, I think it has, but I just can't…
Eric Smith
  • 313
  • 1
  • 2
  • 8
19
votes
6 answers

How can I convert a VBScript to an executable (EXE) file?

I'd looked around for information to convert a VBScript (*.vbs) to an executable and realised that most of the tools available are actually wrapping the script in the executable. Tried a few tools and it didn't worked as well as expected. I tried…
Alex Cheng
  • 691
  • 2
  • 9
  • 21
19
votes
9 answers

Is it possible to execute code from the stack in standard C?

The following code doesn't work as intended but hopefully illustrates my attempt: long foo (int a, int b) { return a + b; } void call_foo_from_stack (void) { /* reserve space on the stack to store foo's code */ char code[sizeof(*foo)]; /*…
Blagovest Buyukliev
  • 42,498
  • 14
  • 94
  • 130
19
votes
3 answers

How to run SWI-Prolog from the command line?

Is there a way to just create a prolog script called hello.pl like this: #!/usr/local/bin/swipl -q -s -t main main:- write('Hello World\n'). And be able to run it from the terminal like this? $ hello.pl Hello World $ When I do that it gives me…
Lance
  • 75,200
  • 93
  • 289
  • 503
19
votes
6 answers

Why an executable program for a specific CPU does not work on Linux and Windows?

An executable problem like exe does not work on Linux (without wine). When compiling source code compiler produce object code which is specific to a particular cpu architecture. But same application does not work with on an another OS with same CPU.…
Tony Cruise
  • 377
  • 3
  • 9
19
votes
4 answers

How exactly do executables work?

I know that executables contain instructions, but what exactly are these instructions? If I want to call the MessageBox API function for example, what does the instruction look like? Thanks.
Alon Gubkin
  • 56,458
  • 54
  • 195
  • 288
19
votes
1 answer

Run Executable from makefile

Hey I just have a quick question about makefile's. Is there some way to auto run the executable generated from a makefile? Like if I just type "make" it will compile and build and automatically execute so I can skip the extra step of…
ModdedLife
  • 669
  • 2
  • 11
  • 24
19
votes
6 answers

Is there any way to change directory using C language?

Is there any way by which I can change to any directory by executing a C program?
Biswajyoti Das
  • 7,881
  • 11
  • 34
  • 26
18
votes
3 answers

How can an ES6 module be run as a script in Node?

How can an ES6 module be run as a script in Node? When I try this shebang I get an error: #!/usr/bin/env node --experimental-modules /usr/bin/env: ‘node --experimental-modules’: No such file or directory If I use this shebang it has syntax errors…
curiousdannii
  • 1,658
  • 1
  • 25
  • 40