Open
Description
It would be cool to have a function a la
readProcessTimed
:: MonadIO m
=> ProcessConfig stdin stdoutIgnored stderrIgnored
-> m (ExitCode, [(ByteString, ByteString, ByteString)])
which would results in something like this:
( ExitSuccess,
[ ( "2022-10-29T15:20:12.168Z", "stdout", "Hello World!" ) ]
, ( "2022-10-29T15:20:12.175Z", "stderr", "ERROR: World not available" ) ]
]
)
- There should probably be a version with and without timestamp (or make it configurable)
- It should probably use a more elaborate data type than a tuple of strings
Metadata
Metadata
Assignees
Labels
No labels