brucexs wrote:

> you think this is getting overwritten somehow by some other call
> accessing global var _exit_, you could try
> myscript(_exit_,)

That's what I think is happening, and I had already tried myscript(_exit_,).
When I did, sometimes I got exit=3 for a file that was being created. Other 
times I got exit=2 for exactly the 
same file operation.
It just seems logical to me that if myscript(,) is provided to safeguard the 
values of globals _folder_ and 
_file_, which are the targets of the file event, the same mechanism should also 
be needed to safeguard the 
value of _exit_, which is the event/reason attached to _folder_ and _file_.

Reply via email to