spev Posted January 31, 2006 Share Posted January 31, 2006 I want to run a line like the one below on Linux hscript -v xx.hip < ~/houdini8.0/scripts/test.cmd arg but hscript see's the argument for my hscript as another file to load....How can I get around this behaviour??? and get the hscript to load up the scene and run my script with the right variables Ta In advance Quote Link to comment Share on other sites More sharing options...
George Posted February 2, 2006 Share Posted February 2, 2006 Try: echo ~/houdini8.0/scripts/test.cmd arg | hscript -v xx.hip Does that work? George. Quote Link to comment Share on other sites More sharing options...
spev Posted February 2, 2006 Author Share Posted February 2, 2006 Try: echo ~/houdini8.0/scripts/test.cmd arg | hscript -v xx.hip Does that work? George. 24357[/snapback] Thanks for the reply george your suggestion works if you put single quotes around the script and arg. eg.. echo `~/houdini8.0/scripts/test.cmd arg` | hscript -v xx.hip ta spev Quote Link to comment Share on other sites More sharing options...
lisux Posted February 3, 2006 Share Posted February 3, 2006 Thanks for the reply georgeyour suggestion works if you put single quotes around the script and arg. eg.. echo `~/houdini8.0/scripts/test.cmd arg` | hscript -v xx.hip ta spev 24369[/snapback] And if you put single quotes with your first example? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.