Hi Emanuel!
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:
You can:
- 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)
Cheers!
Joaquín