Closed agarwal closed 9 years ago
There is still the goal of capturing stdout and stderr in the right order while distinguishing them but I do not think it is easy to do—short of modifying the underlying C library but I do not think we want to do that.
Closing this issue. It is essentially done, short of the last point mentioned by @Chris00 which is not a requirement at this time.
We currently define
type phrase
, but the definition isn't really accurate. It assumes a separation ofstderr
andstdout
, but actually these outputs should be interleaved. Also exceptions aren't mentioned. The correct type to represent outputs is probably something like:This captures all stdout and stderr in the order that output occurs. It also includes an exception that may have been raised.
The harder part is to:
string
should be used to represent the result. Maybe some type from the Outcometree or Toploop modules.