IOCapture.jl
IOCapture.jl copied to clipboard
Capturing standard output and error streams in Julia.
This package feels pretty "stable" to me, so it should probably be tagged as 1.0 to indicate that. In my opinion, `v1.0` releases shouldn't be breaking: A `v1.0` release should...
I have run into an issue similar to that fixed in https://github.com/JuliaDocs/IOCapture.jl/pull/15 and reported in https://github.com/JuliaDocs/Documenter.jl/issues/1947 IOCapture hangs the first time it encounters a `W_cmd` macro as defined in [MathLink](https://github.com/JuliaInterop/MathLink.jl)....
This currently fails: ```julia using IOCapture, Test function test_puts(str) cap = IOCapture.capture() do @ccall puts(str::Cstring)::Cint end @test cap.value == length(str) + 1 end test_puts("Hello World\n"^100_000) ``` For Julia-only code using...
Hello, I currently use IOCapture as follows and it works well: ```julia try captured = IOCapture.capture() do include_string(...) end # ... processing of captured ... catch e # ... end...
I don't want to merge this right away (since we just tagged a new feature), but keeping this as a note to self that we should do this before merging...