Shell program execution -yafray

M

mcmillanje

HI! I'm hoping to make a simple c++ program to execute yafray, (xml
based cgi renderer, I use it with blender). The syntax to enter in
command prompt, (or dos, if you don't have windows open, or unix
shell), is:


yafray filename.xml


I've looked around but I can't seem to find a command to do this. Does
anyone know how?

The reason I'd like to make this is to execute yafray, wait till its
done, then execute it for the next frame of the animation then wait
etc.

I think you can do this with a shell script in unix but I have yafray
on windows. I'd also like to boot to dos and use it...

sorry if this is the wrong spot to plea for help... i'm just a little
desperate.
 
I

Ian Collins

HI! I'm hoping to make a simple c++ program to execute yafray, (xml
based cgi renderer, I use it with blender). The syntax to enter in
command prompt, (or dos, if you don't have windows open, or unix
shell), is:


yafray filename.xml


I've looked around but I can't seem to find a command to do this. Does
anyone know how?
Look up system() and popen().
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,138
Latest member
NevilleLam
Top