Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #3404

Re: An unusual question...

Date 2011-04-17 16:27 +0100
From <wisecracker@tesco.net>
Subject Re: An unusual question...
Newsgroups comp.lang.python
Message-ID <mailman.464.1303054065.9059.python-list@python.org> (permalink)

Show all headers | View raw


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/

Back to comp.lang.python | Previous | Next | Find similar


Thread

Re: An unusual question... <wisecracker@tesco.net> - 2011-04-17 16:27 +0100

csiph-web