You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Main.prover class is run from a directory that is not Walnut/bin, i.e., the program is run using java -cp /pathToWalnut/bin Main.prover from a directory that is not Walnut/bin, then files in the Word Automata Library do not load correctly. This seems to be due to the setPaths() method in the Main.UtilityMethods class. The method only handles what to do if the user's working directory is already Walnut/bin.
public static void setPaths(){
String path = System.getProperty("user.dir");
if(path.substring(path.length()-3).equals("bin"))
dir = "../";
}
(Use case arose when writing a program that runs Walnut as a subprocess).
The text was updated successfully, but these errors were encountered:
If the Main.prover class is run from a directory that is not Walnut/bin, i.e., the program is run using
java -cp /pathToWalnut/bin Main.prover
from a directory that is not Walnut/bin, then files in the Word Automata Library do not load correctly. This seems to be due to the setPaths() method in the Main.UtilityMethods class. The method only handles what to do if the user's working directory is already Walnut/bin.(Use case arose when writing a program that runs Walnut as a subprocess).
The text was updated successfully, but these errors were encountered: