An unusual question...

wisecracker at tesco.net wisecracker at tesco.net
Sun Apr 17 17:27:36 CEST 2011


Hi Miki...

>> os.system("/full//path/to/Jump <address_of_binary_in_ascii>")

> This is calling a different *program* outside of the current Python process. I don't think
> it'll do what you want (different memory segments). 

That is what I assumed, that an os.system() call would run in a subshell. 

> I'd start with either using ctypes/libffi or writing my own C extension wrapper around your good.

Hmm, I was hoping to stay inside a standard Python install.

Thanks a lot...



--
73...

Bazza, G0LCU...

Team AMIGA...

http://homepages.tesco.net/wisecracker/

http://main.aminet.net/search?readme=wisecracker

http://mikeos.berlios.de/




More information about the Python-list mailing list