Questions tagged [executable]

An executable file causes a computer "to perform indicated tasks according to encoded instructions," as opposed to a data file that must be parsed by a program to be meaningful.

0
votes
1answer
23 views

How to convert file .py to .exe, having Python from Anaconda Navigator? (in which command prompt should I write installation codes?)

I created a Python script (format .py) that works. I would like to convert this file to .exe, to use it in a computer without having Python installed. How can I do? I have Python from Anaconda3. ...
0
votes
2answers
34 views

Is it possible to generate an executable (.exe) in a jupyter-notebook?

I wrote a code in python using jupyter notebook and i want to generate an executable of the program.
0
votes
0answers
22 views

debian, wxWidgets, compile: got library instead of executable

On a new notebook just installed Debian, g++, codeblocks, wxWidgets, DialogBlocks ... After compiling a GUI program (wxWidgets) I get a library as result instead of an executable. Same source on ...
0
votes
2answers
50 views

How does make build an executable file from a C source file when the implicit rule says nothing about executables?

From the GNU Make Manual I understand there is an implicit rule for .c programs: n.o is made automatically from n.c with a recipe of the form ‘$(CC) $(CPPFLAGS) $(CFLAGS) -c’ When, for example, I ...
0
votes
1answer
22 views

Convert Jupterlab ipynb to Executable

I have an .ipynb file developed in jupyterlab. This file only contains one cell. When I run the cell in juptyterlab it runs an application developed using Tkinter. Is there any way to create a stand ...
0
votes
2answers
29 views

Tutorial for building single exe for Qt

So I want to find a tutorial that teach how to build single EXE using Qt. i use mingw and windeployqt for deployment (still some dll is missing and i manually copy them) then it works. But i do not ...
0
votes
1answer
9 views

how to execute script from python with options

I need to run the following command via python. /work/data/get_info name=Mike home The error I am getting is No such file or directory: '/work/data/get_info name=Mike home'. Which isn't correct. ...
1
vote
0answers
66 views

How do I convert python script into Linux standalone executable/binary using Cython?

Above I shared my code directory and "main.py" is the file that runs the whole code. Here is the process I followed: Commands to build code for linux 1. cython --embed -o main.c main.py 2. gcc -v -...
0
votes
1answer
42 views

Ocaml execution of program not producing new output after some time

I have 3 ocaml modules, the last one of the tree does the actual computation and uses functions defined in the other 2. The basic idea of the program is to have a port as initial state, which ...
-1
votes
2answers
26 views

How to find out where the main function in an .exe file is?

I created a simple .exe file that just assigns a value of 3 to an integer called "x" and then prints out that value.Here is a picture of the source code: source code I opened the .exe file with an ...
-2
votes
1answer
27 views

How do I make Tkinter run an executable?

I have an executable file, and I want to run it using Tkinter. How may I do this?
0
votes
0answers
13 views

Problems working with files runtime in executable jar

I have a working code (at least in eclipse), in which I work with some files: I have a .dot file I write into some text, so I can read it to create a graph. Then I save the graph into a .png image, ...
-1
votes
1answer
26 views

put together .text, .rdata, .data, .code to a exe(cutable) file

I get zip.exe from http://stahlworks.com/dev/index.php?tool=zipunzip I have unpacked the files to: .text .rdata .data How to connect together through a command line using an external program or ...
0
votes
1answer
47 views

Julia - How to launch an Executable file from REPL

I am trying to open a program through Julias REPL. I would like the result to be as if I had double-clicked on the .exe file in the file explorer. I have tried using run(`program.exe`) but it could ...
2
votes
0answers
61 views

How to verify the Scala binaries?

I have searched everywhere and I have not found the checksums for verifying the integrity of the Scala binaries nor any certificate or signature for verifying the author. Any ideas on how to verify ...
6
votes
1answer
108 views

Real Time updating executable subprocess console output in Python

I have been reading this question, and this one and noted that the solutions proposed there did not do the trick I'm trying to pull off. The idea is similar to this question but I'm giving a better ...
0
votes
1answer
23 views

Pip install your own package & start from command line

Not sure how to phrase this question, but what i want is similar to what azure-cli does: You install the package (pip install azure-cli) The installation is done Afterwards, the az utility is ...
0
votes
0answers
28 views

Laravel mime type validation doesnt work for .exe file when it extension changes to .jpg or .gif or .png

Whem I want to upload image mime types work good but when I change executable file extension to image extension Laravel can not dtetct it is not an image. assume we have a file with example.exe and ...
3
votes
1answer
60 views

Can't get Mach-O text segment size in iOS executable

I'm trying to get .text segment size of Mach-O executable of my iOS app. size_t size_of_image(struct mach_header *header) { size_t sz = sizeof(*header); // Size of the header sz += header->...
1
vote
2answers
42 views

How to find the location of an executable in Python?

What is the best method for identifying an executable within Python? I found that the following function will find the notepad executable from shutil import which which('notepad') Out[32]: 'C:\\...
-1
votes
0answers
47 views

Why do go executables contain absolute paths?

When I looked into the executable file of a program I wrote, I found ASCII sequences representing the source go file path and all paths to imported go files. D:/MYNAME/go/src/MYPROJECT/MYPROGRAM.go D:...
0
votes
1answer
24 views

Running executale file (gfortran) in Matlab on MacOS

Does any one know how to run an executable file (gfortran) from Matlab on Mac ? Thank you in advance
2
votes
2answers
52 views

Can't run jar file on command line with Maven

I am trying to run a jar file that has been packaged by Maven. When I run java -jar target/java-prac-1.0-SNAPSHOT.jar I get the following output: no main manifest attribute, in target/java-prac-1.0-...
0
votes
1answer
25 views

Synchronizing 2 windows applications to start at the same time

I have 2 different executable files in Windows which I need to execute at the same time. Which synchronization mechanism we can use for Windows to ensure 2 processes start at almost the same time? ...
0
votes
2answers
33 views

What do I need to do for adding python executable to HTML?

I made my own game in python using turtle graphics and I want to convert it to an executable file to run in HTML, is there any additional information I should know
1
vote
2answers
59 views

Does a linker generate absolute virtual addresses when linking

Assume a simple hello world in C, compiled using gcc -c to an object file and disassembled using objdump will looks like this: _main: 0: 55 pushq %rbp 1: 48 89 e5 movq %rsp,...
1
vote
0answers
17 views

python executable generator using pyinstaller

I am making a program to generate an executable that runs a reverse shell when run but I need this program to get input from the user(xxx = port, xxx.xxx.x.x = IP address) and create an executable ...
0
votes
2answers
53 views

Python script with executable permission says “Command Not Found”

I have a python script abc.py. Inside a shell script file, I call it ./abc.py Inside abc.py, at the top, I have #!/usr/bin/python test -x abc.py && echo true || echo false return true On ...
0
votes
1answer
35 views

Create executable jar with maven in eclipse - java.lang.NoClassDefFoundError

Since now a week, I'm trying to create an executable jar with maven in eclipse but I'm facing troubles. Here is what I have and what I do : The content of my pom.xml file : <project xmlns="http://...
3
votes
0answers
33 views

How to verify an executable against a digital certificate

I have a .Net executable which I have digitally signed using a certificate generated through makecert.exe and signed using signtool. How to verify that exe has not been tampered or it is still using ...
0
votes
3answers
51 views

How to execute line by line python commands from Linux Terminal?

I searched over the website, but I couldn't exactly find the answer to my question. I'm using Ubuntu 18.04.1 LTS. e.g. in my python script (FileName.py): #!/usr/bin/env python a = 1 b = 2 Now, I ...
0
votes
1answer
21 views

Gradle: Create a non-executable jar and executable shell script with dependent libraries as a package distribution

I am not a big fan of creating fat executable jars for java programs as it involves a massive overhead when I have multiple executable programs from the same project. I want to be able to create a ...
0
votes
1answer
47 views

Getting AttributeError: module 'tensorflow_estimator.python.estimator.api.estimator' has no attribute '__file__' when running a cx_Freeze executable

I'm trying to compile this python script: from keras import optimizers from keras.models import Sequential from keras.models import model_from_json from keras.layers import Dense, Flatten import ...
0
votes
0answers
77 views

Cython compiled executable gives ModuleNotFoundError: No module named 'keras' at runtime

I need to create an executable standalone version of a python script. I'm running everything in a virtual environment and the program works fine if called with python command. But when i try to make a ...
1
vote
0answers
25 views

Turning a java class into an executable file using command line [duplicate]

Hi I have a java class as shown below but I now what to be able to call the main function and give it a textfile name to use in the command line window so my input would look like this in the command ...
1
vote
1answer
57 views

C program that, after compiling and linking, results in an EXE file that contains an edata section?

I am reviewing the Microsoft specification on Portable Executable files (EXE files). In particular, I am reviewing the .edata (export data) section. Here's what the specification says about the edata ...
0
votes
1answer
58 views

Most efficient way to do frequent call to same executable in script

as part of a project I work on, we're reusing a Perl script that loops on certain simple tasks. The problem arises from the fact that : The script calls a simple executable (basically reads in the ...
0
votes
0answers
18 views

How to upload NPM executable file to nexus server

I have nodejs application, and I already successfully uploaded my project to my nexus server. But sadly, I upload only code, but no executable file. This is my part of package.json. What should I ...
1
vote
1answer
21 views

I want to run pict.exe from a java program [duplicate]

PICT generates test cases and test configurations. https://github.com/microsoft/pict I want to run the executable pict.exe through a java program. I tried using Runtime.getRuntime.exec(), it ran ...
0
votes
0answers
29 views

Powershell launch exe networkshare switch issue

We are trying to launch exe's from a network share. If we remove all of the switches it will launch the exe's. If we add switches if does not like the commands. How do I properly add switches to ...
0
votes
1answer
33 views

No language switch ability for other-user-impersonated out-of-process executables?

The issue we are seeing isn't that unique, I hope. First, some background: We are running a few applications with Process.Start(startInfo) under a different user account (that has higher privileges)...
0
votes
0answers
14 views

VC++,How to get running Process Execute Path and it's Bits?

in VC++ how to get my running process " MyReport.exe " executable path and it's bit architecture(not important) i tried something below i could not move the next step .. int ...
0
votes
1answer
56 views

“Bad CPU Type in executable”

I ssh into my jailbroken iPhone 7 with my iMac to follow a tutorial (this one). When I type the command "cycript -p SpringBoard", it gives me this error: Bad CPU type in executable How can I solve ...
0
votes
0answers
24 views

C# source code runs from inside Visual Studio but not with .exe file [duplicate]

I am a C# newbie who has inherited a design from a former employee and I am running into issues. My program flashes a microcontroller through an open source flashing tool called openocd. When I run ...
0
votes
1answer
19 views

Why is my OSX Command Line Tool Binary file so big?

I'm making a Command Line Tool in Xcode. I used the Project template for it. I haven't altered the default Build Settings. My Tool literally has 2 implementation files (in addition to main.swift). ...
0
votes
0answers
27 views

Pyinstaller icon setting not working on desktop

I am trying to simply turn a python file into an executable on Windows 10 with pyinstaller, I have an icon for the executable that works when you view the executable in file explorer but not on the ...
0
votes
0answers
141 views

PyQt5 App built with PyInstaller doesn't work

MacOS 10.14 Python 3.7.1 PyInstaller lates version downloaded from pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip on 24 sept 2019 I'm trying to build an app with PyQt5 and ...
4
votes
1answer
97 views

Python: Making a standalone executable file on MacOS with py2app

I have an application in a python script my_app.py and want to make a standalone executable out of it on a MacOS (10.14). Following the video-tutorial here, I entered sequentially the following ...
0
votes
1answer
35 views

Python: Pyinstaller on mac current directory problem

I have created a little script that I want to run as an executable on Mac and Windows. I created the executable as one file using --onefile and I want to work with files in the same directory as the ...
1
vote
1answer
90 views

Branca Python module is unable to find 2 essential json files when running an executable that uses folium

There is a chance this is still a problem and the Pyinstaller and/or Folium people have no interest in fixing it, but I'll post it again here in case someone out there has discovered a workaround. I ...

http://mssss.yulina-kosm.ru