Hi,
I encountered some unexpected behaviour with compiled SWI code. I use XPCE
6.4.3 with SWI-Prolog version 5.4.7 on WinXP SP2.
It seems that in compiled SWI code, as soon as the working directory is
changed, the value of W in
current_prolog_flag(executable, W)
is set to the current working directory. This does not happen when doing
this from the command line.
Is this supposed to happen? There may be something else going on, the code
I'm working on is quite complex, and I haven't done thorough testing yet.
Cheers,
Christophe Costa Florencio
|