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


Groups > comp.lang.python > #3404 > unrolled thread

Re: An unusual question...

Started by<wisecracker@tesco.net>
First post2011-04-17 16:27 +0100
Last post2011-04-17 16:27 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#3404 — Re: An unusual question...

From<wisecracker@tesco.net>
Date2011-04-17 16:27 +0100
SubjectRe: An unusual question...
Message-ID<mailman.464.1303054065.9059.python-list@python.org>
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/

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web