I've been reading the list for a while but haven't posted.
I use shedskin regularly, great tool! :-D
I felt like I can answer this question.
On Wed, Aug 29, 2012 at 5:44 PM, emanuel <emanuel....
> Like, i have a python file and i want that it run in an process, like
> abc.exe, i can sue the shedskin to inject the python in the process?
I think you are missunderstanding Shedskin. Shedskin translates python into
C++ (as as standalone app, or as a python module)
If you want to inject python code into a python process, then you can do it
all in the python world. (sockets and exec or eval function)
If you want to inject binary code in a process, forget shedskin for a
moment and just suppose you have C++ code:
- create a library and load it (.dll or .so)
- inject the code with some other less traditional way
(http://en.wikipedia.org/wiki/DLL_injection , there are more techniques,
that's an example)
Now, since sheskin creates C++, you can do the above with your Shedskin
generated code. (just take in count it uses boehm GC)