I think Patch r220306 fixes it
Thanks!
On Tue, Oct 21, 2014 at 5:59 PM, Greg Clayton wrote:
> What is your type for 'env' below?
>
> process = target.Launch(self.dbg.GetListener(), ['a','b'], env, stdin,
> 'stdout.txt, 'stderr.txt', os.getcwd(), 0 , True, err)
>
>
> It must be a list like ['FOO
I think Enrico's patch r220306 fixes it
Thanks!
On Tue, Oct 21, 2014 at 5:59 PM, Greg Clayton wrote:
> What is your type for 'env' below?
>
> process = target.Launch(self.dbg.GetListener(), ['a','b'], env, stdin,
> 'stdout.txt, 'stderr.txt', os.getcwd(), 0 , True, err)
>
>
> It must be a list l
What is your type for 'env' below?
process = target.Launch(self.dbg.GetListener(), ['a','b'], env, stdin,
'stdout.txt, 'stderr.txt', os.getcwd(), 0 , True, err)
It must be a list like ['FOO=BAR', 'STUFF=COOL']:
process = target.Launch(self.dbg.GetListener(), ['a','b'], ['FOO=BAR',
'STUFF=COOL
No I don't really know swig, either.
If you don't have commit access then I could try to test out your patch
some more and then commit it.
Matt
On Mon, 2014-10-20 at 22:25 -0700, zephyr git wrote:
> Hi Matthew,
>
>
> It seems to be some swig
> issue:
> http://stackoverflow.com/questions/14220
Hi Zephyr
I too have seen similar issue with this API.
I noticed that the file scripts/Python/python-swigsafecast.swig has no
entry for SBListener, and wondered if this was relevant.
Matt
On Mon, 2014-10-20 at 21:57 -0700, zephyr git wrote:
> Hi,
>
>
> I'm using the SBTarget.Launch() API in
Hi,
I'm using the SBTarget.Launch() API in Python:
process = target.Launch(self.dbg.GetListener(), ['a','b'], env, stdin,
'stdour.txt, 'stderr.txt', os.getcwd(), 0 , True, err)
I got the following error:
...
File "/home/media/llvm/lib/python2.7/site-packages/lldb/__init__.py",
line 7973, in L