Ah, I see. Not exactly what I need now because I want the tmp file to last 
for a while but thanks for this info.

domingo, 6 de Setembro de 2015 às 19:08:05 UTC+1, Pontus Stenetorp escreveu:
>
> On 6 September 2015 at 18:37, J Luis <[email protected] <javascript:>> 
> wrote: 
> > 
> >> You may also be interested in `mktemp` [1]. 
> >> 
> >>     Pontus 
> >> 
> >> [1]: http://julia.readthedocs.org/en/latest/stdlib/file/#Base.mktemp 
> > 
> > Yes, indeed but the the returned 'io' file is closed/removed when? (docs 
> are 
> > too short on this) 
>
> On v0.3 you will need to handle this manually, but on v0.4 you are be 
> able to use it similar to how we can use `open`: 
>
>     mktemp() do path, io 
>         # Work, work... 
>     end 
>     # Handle now closed and file removed. 
>

Reply via email to