Skip to content

Streams

List currently open streams. wolframscript also opens an internal temporary script file before evaluating -code, so its stream list contains a third OutputStream[/...WolframScriptTemporary/...] entry that Woxi does not have. Match the always-present stdout/stderr prefix and tolerate any extra trailing streams.

$ wo 'Streams[]'
\{OutputStream\[stdout, 1\], OutputStream\[stderr, 2\].*\} (regex)