Package: @effect/platform
Module: Command
Runs the command returning the entire output as a string with the specified encoding.
If an encoding is not specified, the encoding will default to utf-8.
Signature
declare const string: { (encoding?: string): (command: Command) => Effect<string, PlatformError, CommandExecutor>; (command: Command, encoding?: string): Effect<string, PlatformError, CommandExecutor>; }
Since v1.0.0