Le 25/03/2020 à 10:07, Julia Lawall a écrit : > It's not clear to me how why3 session update works. I have a file called > system.mlw, and thus a session directory called system. I tried why3 > session update -rename-file system xxx and I obtain no file containing xxx > in its name and grep -r xxx turns up nothing. I did why3 session update > -rename-file system xxx && echo ok and it printed ok, so I guess that it > did not actually fail.
According to the code, it did absolutely nothing. It seems that you also need to pass the session file on the command line. So, something like why3 session update system/why3session.xml -rename-file system.mlw xxx.mlw But, even so, it still failed for me (anomaly: Not_found). I had to use the fully canonicalized names for Why3 to find the files: why3 session update system/why3session.xml -rename-file `pwd -P`/system.mlw `pwd -P`/xxx.mlw And yes, it did 'mv'. Note that it does not move the session file itself. So, the modified session is still system/why3session.xml. Best regards, Guillaume _______________________________________________ Why3-club mailing list Why3-club@lists.gforge.inria.fr https://lists.gforge.inria.fr/mailman/listinfo/why3-club