On Mon, Oct 25, 2010 at 4:00 PM, Khem Raj <[email protected]> wrote:
> > + cmd = "PATH=\"%s\" %sobjcopy -j .modinfo -O binary %s %s"
> % (bb.data.getVar("PATH", d, 1), bb.data.getVar("HOST_PREFIX", d, 1) or "",
> file, tmpfile)
> > + os.system(cmd)
>
>
> may be we can get rid of os.system and use subprocess popen or something
We have convenience wrappers around subprocess both in utils.bbclass and in
oe.process -- probably easiest to use one of those.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel