Shell program execution -yafray

Discussion in 'C++' started by mcmillanje@gmail.com, Feb 11, 2006.

  1. Guest

    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.
    , Feb 11, 2006
    #1
    1. Advertising

  2. Ian Collins Guest

    wrote:
    > 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().

    --
    Ian Collins.
    Ian Collins, Feb 11, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. les ander
    Replies:
    3
    Views:
    1,433
    Alex Martelli
    Nov 16, 2004
  2. Visco Shaun
    Replies:
    0
    Views:
    267
    Visco Shaun
    Feb 26, 2009
  3. J.B. Brown
    Replies:
    1
    Views:
    539
    Neil Hodgson
    Jul 23, 2010
  4. MRAB
    Replies:
    0
    Views:
    416
  5. Hamlat Ameziane
    Replies:
    3
    Views:
    181
    Hamlat Ameziane
    Jul 17, 2008
Loading...

Share This Page