On 2003-08-15  Tzahi Fadida wrote:
> i use an "&" when calling these scripts from the main script.
> i don't know, maybe they are refreshed and there is some other
> problem: could it be that if i open a file for reading and
> don't close it and even if this subscript is finished, because
> it was run in the context of the parent script then the inode
> is still linked?


Maybe you should post a small reproducable example script.

(Since you mention the '&', maybe it's old instances of the
script that are still running??)

I don't know how your script works, but if have a script that
calls /your/perl/script.pl every 15 seconds, then if you modify
your perl script, the modified version will be executed the next
time..

try running this script:

echo hi > /tmp/foobar
while true; do cat /tmp/foobar; sleep 1; done

and while it is running, modify the /tmp/foobar file.
you will see that the new content is seen..
no file cacheing, no magic.



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to