On Fri, 21 Mar 1997, Stewart Allen wrote:
> On Fri, 21 Mar 1997, Alex Carlos Braga Antao wrote:
>
> > Hi,
> >
> > Is there a way to open a file for read/write and block it for write to
> > other applications ? I'd like to let a file READONLY for other
> > applications and READ/WRITE for my application. I couldn't see any
> > parameter to open that makes it.
> >
>
> vtcl currently keeps no files open during app development. it re-writes
> the entire .tcl file each time you save. if this is a more general
> question about tcl file locking, I do not believe it's possible. this
> may have changed in tk8. anyone?
My question is not about VTCL file locking, but a file that I open
during the execution of my script. Like if I'm manipulating some system
files, I'd like to keep then intact for other processes.
Thanks,
--
___________________________________ _________________________
/ Alex Carlos Braga Antao \ /_ __ \
| UnB - Universidade de Brasilia | // ...on IRC |
| | // ____ |
| e-mail : [EMAIL PROTECTED] | // / _/________ |
| http://www.prdf.mpf.gov.br/~luthor | /____ /_/ / /) (_) / |
\___________________________________/ \_______It's me !_________/