n0On3
27th October 2006 14:21 UTC
problem with execwait
I am making a nsis script to automate the execution of a command line program. I run this exe many times. The problem is that this program makes a log of what is doing, and this log is overwritten every time the exe runs. This doesn't happen when running the program from the command line. Could you know what's happening? I tried setting "SetOutPath" to EXEDIR where the command line program is, but it still overwrites.
kichik
27th October 2006 14:47 UTC
Where is it writing its log when you execute it from the command line? Is it writing it to the current directory? If a log file already exists in the current directory, what does it do with it?
n0On3
27th October 2006 15:18 UTC
the log is written on the same folder where the command line exe is. If there's a log it overwrites it, instead of append. The normal behaviour when running without nsis is to append.
kichik
27th October 2006 15:23 UTC
Well, there's nothing special about the way NSIS executes anything. It just calls CreateProcess. What exactly are you running?
n0On3
27th October 2006 15:25 UTC
here's the program I am running:
http://www.vicobiscotti.it/en/fsync.htm
kichik
27th October 2006 15:41 UTC
Works fine for me. Are you sure you've used /L+ and not just /L?
n0On3
27th October 2006 21:26 UTC
oops, now I am embarrased :$
thanks for helping :)