[IronPython] Hosting IronPython in Powershell

Stephen Ng stephen at theleengs.com
Wed Jan 14 02:09:17 CET 2009


I never solved this, but decided to go the other way and host powershell
inside IronPython instead.
Thanks,

Steve

On Tue, Jan 13, 2009 at 4:11 PM, Michael Foord <fuzzyman at voidspace.org.uk>wrote:

> Sorry for the late reply Stephen - I'm really bogged down in the last
> phases of copy editing. Did you get this sorted?
>
> Michael
>
> Stephen Ng wrote:
>
>> Thanks for the help....  I'll get the pdf version of the book this weekend
>> and read up to try to get more of a clue.  Am I using Invoke-GenericMethod
>> correctly?
>>
>> PS C:\Program Files\IronPython 2.0> & 'C:\Program Files\IronPython
>> 2.0\Invoke-GenericMethod.ps1' $py Execute String '3'
>> Exception calling "Invoke" with "2" argument(s): "Exception has been
>> thrown by the target of an invocation."
>> At C:\Program Files\IronPython 2.0\Invoke-GenericMethod.ps1:96 char:30
>> +             $newMethod.Invoke( <<<< $instance, $methodParameters)
>> PS C:\Program Files\IronPython 2.0> & 'C:\Program Files\IronPython
>> 2.0\Invoke-GenericMethod.ps1' $py Execute String 'print 3'
>> Exception calling "Invoke" with "2" argument(s): "Exception has been
>> thrown by the target of an invocation."
>> At C:\Program Files\IronPython 2.0\Invoke-GenericMethod.ps1:96 char:30
>> +             $newMethod.Invoke( <<<< $instance, $methodParameters)
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.ironpython.com
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>
>>
>
>
> --
> http://www.ironpythoninaction.com/
> http://www.voidspace.org.uk/blog
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20090113/b298339d/attachment.html>


More information about the Ironpython-users mailing list