I want to run a process and capture its output. According the documentation, method open(command, stdio=devnull; write::Bool = false, read::Bool = !write) should return a tuple (stream,process). But when running
typeof(open(`ls`))
the output is Base.Process. So only the process is returned, no stream.
Am I misunderstanding the documentation? How do I start a process and somehow capture its output.