I think Robert Kildare wrote:

> Are there any simple issues that I may have overlooked, like the need for 
> escape characters to describe the file path when calling 
> v = engine.executeCommand("(batch " + inputFileName + ")"); 

It's always best to quote filenames in Jess 6, and if you're using
Jess 7, then this is a requirement. Otherwise /tmp/whatever looks like
a regular expression /tmp/ followed by "whatever". You want to say

v = engine.executeCommand("(batch \"" + inputFileName + "\")"); 

or better, use

v = engine.batch(inputFileName);

Ernest Friedman-Hill  
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]

Reply via email to