JuliaWeb / JuliaWeb/RemoteREPL.jl

Streaming logs and IO streams to the client

Open
#30 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Julia
Stars
145
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Ideally we'd send logs and IO stream side effects over the RemoteREPL channel as they happen rather than buffering them in the server until the command is done executing. This would be especially helpful for long-running commands.

As part of this, it would be helpful if `@remote(stdout)` would forward a more faithful stdout-like object to the server so that `redirect_stdout` would work, making it easier to get the desired client-centric behavior mentioned in #29:

```julia
redirect_stdout(@remote(stdout)) do
println("hi")
end
```

Completely stateful redirection such as

```julia
redirect_stdout(@remote(stdout))
```

would also be helpful as it should solve part of #15

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.