Run CLIPS command from C file?

  • Oliver

    Oliver - 2011-05-10

    Hi guys,

    I wonder is there a way that we can fire a rule like "(batch testall.tst)"  but without launching the CLIPS executable and typing it to command line? I don't want to run ./clips first and then type command, instead I really want to write it to another file so that I can integrate CLIPS seamlessly.

    Probably that could be writing a C file which can pass this command to CLIPS? Is anyone has any idea about that?

    Thanks for the help.


  • Gary Riley

    Gary Riley - 2011-05-18


       clips -f testall.tst

    This functionality is described in section 2.1.2 of the Basic Programming Guide, Automated Command Entry and Loading

    2.1.2 Automated Command Entry and Loading


Log in to post a comment.