process_runner 2.0.0
process_runner: ^2.0.0 copied to clipboard
A process invocation astraction for Dart that manages a multiprocess queue.
Change Log for process_runner #
2.0.0 #
-
Breaking change to modify the stderr, stdout, and output members of
ProcessRunnerResultso that they return pre-decodedStrings instead ofList<int>s. AddedstderrRaw,stdoutRaw, andoutputRawmembers that return the originalList<int>values. Decoded strings are decoded by a newdecoderoptional argument which usesSystemEncoderby default. -
Breaking change to modify the
stdinmember ofWorkerJobso that it is aStream<String>instead ofStream<List<int>>, and a newstdinRawmethod that is aStream<List<int>>. Added anencoderattribute toProcessRunnerthat provides the encoding for thestdinstream, as well as the default decoding for results. -
Added
ProcessPool.runToCompletionconvenience function to provide a simple interface that just delivers the final results, without dealing with streams. -
Added more tests.
1.0.0 #
- Initial version