View Full Version : command line generation

07-30-2014, 05:41 AM
when I want to generate panel code, I type:

> ivfstudio my_project.iva

And then graphically [Application --> Generate All]

is there a way to do it using only command line ? it is usefull for makefiles !

07-30-2014, 06:05 AM
Hello Guardina,
Yes, using the non-interactive mode.

I've never tested it but the below command shoudl match your needs:
ivfstudio my_project.iva -execute GenerateAll

As a reminder, any command know to Studio can be launched from the command line using the '-execute' option.
See $ILVHOME/doc/html/views.html#page/Studio/panels.7.2.html#ww151933


07-30-2014, 08:12 AM
Thank you so much for your answer.

"ivfstudio my_project.iva -execute GenerateAll -execute Quit" does nearly work, I just need to find a way for ivfstudio to close without asking... I haven't found any option for that yet.

07-31-2014, 01:11 AM
My ugly solution...

( ivfstudio my_project.iva -execute GenerateAll & ) && ( sleep 30 && kill `ps aux | grep -i ivfs | grep my_user| grep -i generateall | awk -F " " '{print $2}' `; )