3,743
questions
1
vote
1
answer
40
views
r script fail to executate
I'm trying to create a shortcut that when I click on, the r script run automatically. I used instructions posted in https://www.r-bloggers.com/2015/02/making-r-files-executable-under-windows/ by Peter ...
0
votes
0
answers
20
views
How to close a third-party application if user inactivity
I have a Flutter Windows application in which an executable opens (in my case, Chrome).
After opening it, if the user remains inactive for 20 seconds, the executable should close and return to the ...
0
votes
1
answer
59
views
SFML executable throws errors and doesn't open
I have a game in SFML and built it using cmake. Now I would like to create an executable for the game. To achieve it I have built it in release mode and got the cmake-build-release directory, where I ...
1
vote
1
answer
106
views
Add interpreter to shared object without touching the code
I'm following this post, in which it is clearly shown how to add an interpreter to a shared object.
Now I'm trying to do the same but without add the line
const char interp_path[] __attribute__((...
1
vote
1
answer
24
views
MWE among object file compiled with and without `-fPIC`
I was doing some experiment with object file produced by gcc.
While I know, at least superficially, what is the use of position independent code, I was trying to spot it concretely.
I produced this ...
2
votes
1
answer
81
views
Trying to read resources of an external executable file C++
I'm trying to read resources of an external executable. I'm using Resource Tuner application and it gives me such a result:
std::filesystem::path exeSignalPath{ LR"__(c:\Users\user\AppData\Local\...
0
votes
1
answer
51
views
Compiling python project with external modules to machine code using Cython
I am looking for solution to protect source code of my project to distribute it. All projects for Windows exclusively.
I tried Nuitka and Pyarmor for this purpose. But both solutions are not ...
0
votes
1
answer
52
views
PyInstaller unable to find data file (db.sqlite) during packaging in `.spec` file
I'm working on packaging a Python project using PyInstaller. My project includes a db.sqlite file, which I need to include in the final executable. I’m using a .spec file to package the application, ...
-1
votes
0
answers
39
views
Fields are missing in exe file after converting .py to exe
Fields missing after .py code was converted to exe
Fields that are present when .py file is run in Pycharm
So, after converting my .py file to an executable, the relevant entry fields are missing. ...
-2
votes
0
answers
59
views
File path not found after being verified - Batch
I'm (attempting) to write a batch script to launch a genshin impact after launching the mod loader, because I want to launch the batch file through steam.
However, windows is convinced that the path ...
0
votes
0
answers
14
views
Redirect Nuitka's executable libs path
I have built a standalone Nuitka executable (not onefile), and I got an entry point and bunch of other '.so' libraries. My question is I want to redirect the path where nuitka looks for those deps on ...
0
votes
1
answer
49
views
PyInstaller causing a crash, PyCharm works a charm
I have someone else's Python code that I am upgrading from 3.7 to 3.12 before changing database calls to API calls. The Python code is compiled using PyInstaller into an executable to be distributed ...
0
votes
1
answer
44
views
How to update my Python executable after modifying the source script?
I have a script in python that I turned into a .exec with PyInstaller using this line:
pyinstaller.exe --onefile <path_to_python_file>
And it worked just fine.
After that I changed my script and ...
0
votes
0
answers
16
views
How to get the path of a process after pivot_root in Linux
Is it possible to find the full path of a process after pivot_root? For example the command: readlink -f /proc/<pid>/exe returns /usr/bin/<program>, but it is not correct - it should be /...
0
votes
1
answer
37
views
Correct way to manage python modules after packed into binary executable using pyinstaller
How I met the problem
I'm currently working on a way of patching/updating software remotely, without asking the users to reinstall whenever I publish an newer version
(that is, no need to repack ...
0
votes
0
answers
43
views
Python Executable to Modify Excel Files
I have a python script that generates and saves barcode pngs (using barcode-python) to a folder based on data extracted from an Excel spreadsheet (using pandas). The general issue I'm having is in ...
0
votes
1
answer
25
views
Auto-generated manifest.h does not include ProviderGuid value
I am attempting to compile an instrumentation manifest in order to build a manifest-based Windows Event Log provider. I expect the compiled manifest.h file to include a ProviderGuid symbol, as the ...
-1
votes
2
answers
45
views
VIM autocommand on executable files
I want to run a VIM command only on loading of executable files (specifically, what I want, is to add a button to the menu bar, that will run the script, aka call :!%)
The question, of course is for ...
0
votes
0
answers
29
views
Running ARM executable in Android API 29+ programatically
I'm trying to execute an ARM executable in my android app without root permission to read & write commands.
I tried a solution but it failed because of Behavioural changes (API 29+)
I want to also ...
1
vote
0
answers
20
views
Executable/installable files with electron FE and python BE
I have a problem with my current project.
I have a backend written in python which i complain with pyinstaller to an exe.
The py BE communicate with websockets with the FE written in JS/hmtl/css.
I ...
0
votes
0
answers
19
views
How to atomically exchange an executable that could be invoked at any time
We have a service on our server that is triggered by a cronjob quite frequently. Now we want to update this application to a new version.
How can we do so without risking the application to be in an ...
3
votes
4
answers
236
views
In Haskell on Linux, is there a way of emitting an executable file for an arbitrary IO action?
I'm looking for a function like this:
writeExecutable :: FilePath -> IO () -> IO ()
This would create an executable Linux binary file that, when run, would do the provided IO action as if it ...
-2
votes
2
answers
55
views
Setting Up Properties in a JAR Executable
I have made a program that uses multiple classes that do various tasks. Every class however will need to reference the same file path every run. So, in my jar executable I have a properties file that ...
0
votes
1
answer
65
views
How can I make an executable Bash file?
I have four Python scripts and one Excel table. I have to run the last Python script which opens a dashboard in my browser with Dash. I did this for my company and I want now that other people with no ...
0
votes
0
answers
28
views
Electron Forge app starts up a local server on startup but generates multiple windows
I've created an Electron Forge App that wraps a React app but also should start a node.js local server when open. This works well when I run the app using npm start but when I run npm run make, the ....
0
votes
0
answers
87
views
Turning a simple python text encoder into a .exe file for sharing with friends and family
I have this code that I wrote to simply encode and decode passwords, but I need to share with with friends and family with the modules/packages easily, what's the best way to do so.
My code:
import ...
0
votes
1
answer
109
views
Packaging my python "textual" library powered text-user-interface, and its requirements.txt libraries, into a "1-click" executable
I have built a pretty simple text-user-interface with the python textual library, for a third-party command line interface library I am utilizing. My current objective is to package the TUI as a ...
0
votes
0
answers
59
views
PT_LOAD mapping mechanism
I'm currently playing with elf files. I'm getting confused about how PT_LOAD segments are loaded into memory. I mean how p_offset, p_filesz, p_vaddr, and p_memsz are used.
First thing first, this is ...
-1
votes
1
answer
51
views
Segments with the same offset and permissions in /proc/procid/maps
I'm currently playing around with ELF binaries and how they are loaded in the memory in Linux Kernel. I am really confused about how PT_LOAD segments are loaded into memory. I have a ELF executable ...
0
votes
0
answers
25
views
pyinstaller creates .exe but it fails with "module not found"
When creating a simple executable (Windows) with pyinstaller, my py script can be compiled, but when starting it, it fails with:
Traceback (most recent call last):
File "salsatest.py", ...
2
votes
0
answers
18
views
Unable to launch main python script from pyinstaller bundle using launcher script
I'm encountering difficulties with launching a Python script (Ex.py) from a PyInstaller bundle using a launcher script (launcher.py). The launcher script is intended to locate Ex.py within the ...
0
votes
0
answers
23
views
Trouble executing Python executable within an Electron-React application on macOS despite successful execution on Windows
I'm facing an unexpected challenge while trying to execute a Python executable within an Electron-React application on macOS, utilizing spawn() method. The following code snippet executes smoothly on ...
0
votes
1
answer
58
views
Running Executables with Input in Parallel in Python
I have a program that requires me to run multiple executables and I would like to increase performance by running these in parallel.
My base code looks something like this:
import subprocess
def ...
0
votes
0
answers
149
views
Dynamic File Access(python310.dll) Challenge in Executable Python Script
The environment on my work computer imposes strict limitations, prompting me to compile a Python script into an executable using Pyinstaller. This circumvents the need for administrators to install ...
0
votes
0
answers
29
views
How do we create DLL in python?
I had made a tool using image grabbing in python but we do not need to create .exe for that instead we need to create DLL in one file
I am tired trying into making DLL but it seems to be embedded ...
-1
votes
1
answer
62
views
In Language Processing, What is making the console window of an exe file?
When a language gets processed into displaying its output, specifically for compiled languages, their code is compiled by a compiler, assembled by an assembler and linked by a linker to create the ...
0
votes
1
answer
102
views
converting .py to .exe, getting error OSError: [WinError 6] The handle is invalid
I have this python programme that runs fine in VS Code. I'm doing my first attempt at converting it to an exe. It's a basic programme where the user can pick multiple dinners from a list of 9 dinners ...
0
votes
0
answers
44
views
Issue with making python executable with local db, sqlite3, tkinter
I have made a simple CRUD database program for harvest. It is able to read from database, update the database, delete things from database and etc. by doing queries to the SQLite3 database. Now, I ...
0
votes
1
answer
181
views
Cmake is not building an executable
I am trying to use the code here https://github.com/usuaero/MachUp
I have followed all the pre requisites required but when I try to build the executable I get this error. Any advice would be helpful....
1
vote
0
answers
459
views
With Node SEA, how to pack node_modules into executable?
This new «Single Executable Applications» feature sounds cool but it's not clear how to use node module packages from SEA application.
I know it mentions assets:
"assets": {
"a....
0
votes
0
answers
6
views
Executable generated from Pyinstaller not closing properly
I generated an exe using Pyinstaller and I notice that even though I close it, it keeps running in the background and I have to end task from the task manager for it to properly close. Any ideas on ...
0
votes
0
answers
49
views
Having problems with cx_Freeze and making an executable
I've written a Python script that I need to make into a stand alone executable. I'm trying to use cx_Freeze, but I keep getting recursion errors. I've seen that this question has been asked before, ...
0
votes
0
answers
32
views
Why can't I read my executable's output in Python?
I have an executable file I want to interface with using Python. When run from PowerShell, the executable prints out a few lines of text, including an IP address and username, and expects the user to ...
0
votes
0
answers
82
views
Correct Maven project execution plugin configuration when using multimodule application
I have application that has multiple module (about 20 modules). These modules are libraries except 2. One of the module is wrapper that specifies which module to use. There is also module that has ...
0
votes
0
answers
58
views
Streamlit with Pyinstaller issue
my streamlit app uses transformer and also i have no streamli and transformer installed in my global pip. I have my development using virtual env and when i am running pyinstaller created .exe file ...
0
votes
0
answers
401
views
Trouble building UACME executable
I am trying to build the executable for this project
https://github.com/hfiref0x/UACME
The creator does not release compiled binaries (which is completely understandable) and I am trying to understand ...
-1
votes
1
answer
156
views
Why can't I run my python executables in busybox?
The setup is as follows:
I have a device with very limited ressources and busybox is running on it.
With PyInstaller I have built an executable out of my python script on a linux system with the same ...
0
votes
1
answer
638
views
How do I produce multiple executables using Nuitka for Python?
I have trying to compile by Python scripts using Nuitka. I have six scripts, out of which three are modules and data scripts. Three need to be compiled as an executable. How do I compile all three ...
1
vote
1
answer
56
views
Letting user modify the program through a "config" folder
I'm creating an executable file using python (3.11.7)'s pyinstaller (6.3.0). The program relies on a pre-defined dictionary and an Excel file, both located in a folder named config at the top level of ...
0
votes
1
answer
120
views
PyInstaller + Tkinter within Virtual Environment -- failed to built an executable in python 3.8
Question
I have tried to built an executable with PyInstaller. A very similar question was asked here.
I am doing this from a WSL terminal on a Windows machine. I have created a virtual environment to ...