On 6 September 2015 at 18:37, J Luis <[email protected]> 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