[IronPython] Hosting IronPython in Powershell

Stephen Ng stephen at theleengs.com
Wed Dec 31 01:14:44 CET 2008


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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20081230/c32cff49/attachment.html>


More information about the Ironpython-users mailing list