This seems like a pretty reasonable feature to add to the REPL if you'll
open an issue for it.

On Sat, Jan 23, 2016 at 1:13 PM, Yichao Yu <[email protected]> wrote:

> On Sat, Jan 23, 2016 at 12:29 PM, Josef Sachs <[email protected]> wrote:
> > Are there any recommendations for capturing the output
> > of an interactive julia session?  I was hoping that the
> > following would work.
>
> http://man7.org/linux/man-pages/man1/script.1.html
>
> >
> > $ julia | tee temp.txt
> > ERROR: MethodError: `convert` has no method matching
> convert(::Type{Base.TTY}, ::Base.PipeEndpoint)
> > This may have arisen from a call to the constructor Base.TTY(...),
> > since type constructors fall back to convert methods.
> > Closest candidates are:
> >   Base.TTY(::Any)
> >   call{T}(::Type{T}, ::Any)
> >   convert{T}(::Type{T}, !Matched::T)
> >   ...
> >  in call at Terminals.jl:116
> >  in _start at ./client.jl:388
> >
> > I might fall back to running julia within an Emacs shell-buffer,
> > but I would prefer to keep the REPL functionality.
>

Reply via email to