Skip to content

Commit 999d3a0

Browse files
authored
Update README.md
1 parent c6e4d49 commit 999d3a0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ Custom (python) import hooks are installed to support loading modules (both nati
1010
0. Set up nim
1111
1. Download `python-3.10.1-embed-amd64.zip` to the project directory
1212
2. `nimble build`
13-
3. Run `onefile_python.exe`
13+
3. Run `onefile_python.exe` (REPL), `onefile_python.exe -c "print('Hello World')` (command), or `onefile_python.exe script.py --hello world` (script)
1414

1515
## TODO
1616

17-
Currently the exe just drops to an interactive loop. Modification to run a script or embed a file/module should be trivial.
18-
1917
- [ ] Build option for embedding a python file/module and running that on launch
2018
- [ ] Support other versions of python than `3.10.1` (autodetect?)
2119

@@ -54,4 +52,4 @@ There's not much to it...
5452
No.
5553

5654
It uses reflective DLL loading, which is a technique some malware uses so that might upset particularly sensitive AVs.
57-
Like python itself, it could be used to run a malicious script.
55+
Like python itself, it could be used to run a malicious script.

0 commit comments

Comments
 (0)