[Sidefx-houdini-list] Custom Expression's calling external language (python/perl)

Rick Walia rickw at the-mill.com
Thu Oct 13 11:32:45 EDT 2005


Hi Rob,

Works great!
I have to slap myself on the wrist everytime I go backtick crazy ;)

Cheers!


Rob Pieké wrote:
> Hey Rick ... try this custom expression:
> 
> string myFunc( string source )
> {
>     return system( "python test.py " + source );
> }
> 
> You don't want to use `, since you're already in an expression.
> 
> Then, using
> -> echo `myFunc( "hello world" )`
> should work.




-- 
Rick Walia

The Mill NY






More information about the Sidefx-houdini-list mailing list