Hi,
This is what's going on using wine-20050725 and 20050830 under gentoo:
$ ls -l user.reg; wine winecfg; ls -l user.reg # winecfg did some changes ... 7517 Sep 2 16:00 user.reg ... 7517 Sep 2 16:00 user.reg $ sleep 5 $ ls -l user.reg ... 7629 Sep 2 16:13 user.reg
So, wine exits, but wineserver keeps running and finishes a second or two later. As a result it rewrites the config files AFTER the command completion. That confuses scripts reading and manipulating the registers. Well, it confuses wine too, if I try to run wine immediately after exiting wine.
Is that on purpose? Is there any workaround? Am I doing something wrong here?
Ivan
"ivan vadoviè" pivo@pobox.sk writes:
So, wine exits, but wineserver keeps running and finishes a second or two later. As a result it rewrites the config files AFTER the command completion. That confuses scripts reading and manipulating the registers. Well, it confuses wine too, if I try to run wine immediately after exiting wine.
Is that on purpose? Is there any workaround? Am I doing something wrong here?
Yes, it's on purpose. You can reduce the timeout by using the -p option to wineserver, but there will be a race in any case. You really shouldn't be manipulating the registry files directly, you should call regedit from your scripts. And running wine immediately after exiting should work fine, could you please give details on what doesn't work?