cmd_run library

Classes

ProcessCmd

Properties

dartExecutable → String
Get dart vm either from executable or using the which command
read-only
dartSdkBinDirPath → String
read-only
dartSdkDirPath → String
read-only

Functions

argumentsToString(List<String> arguments) → String
argumentToString(String argument) → String
dart2jsCmd(List<String> args) ProcessCmd
dart2js
dartanalyzerCmd(List<String> args) ProcessCmd
dartanalyzer
dartCmd(List<String> arguments) ProcessCmd
Dart command
dartdevcCmd(List<String> args) ProcessCmd
dartdevc
dartdocCmd(List<String> args) ProcessCmd
dartdoc
dartfmtCmd(List<String> args) ProcessCmd
dartfmt command
devRun(String executable, List<String> arguments, {String workingDirectory, Map<String, String> environment, bool includeParentEnvironment: true, bool runInShell: false, Encoding stdoutEncoding: SYSTEM_ENCODING, Encoding stderrEncoding: SYSTEM_ENCODING, Stream<List<int>> stdin, StreamSink<List<int>> stdout, StreamSink<List<int>> stderr, bool connectStdout: false, bool connectStderr: false, bool connectStdin: false}) → Future<ProcessResult>
devRunCmd(ProcessCmd cmd, {bool verbose, bool commandVerbose, Stream<List<int>> stdin, StreamSink<List<int>> stdout, StreamSink<List<int>> stderr}) → Future<ProcessResult>
executableArgumentsToString(String executable, List<String> arguments) → String
processCmd(String executable, List<String> arguments, {String workingDirectory, Map<String, String> environment, bool includeParentEnvironment: true, bool runInShell: false, Encoding stdoutEncoding: systemEncoding, Encoding stderrEncoding: systemEncoding}) ProcessCmd
processCmdToDebugString(ProcessCmd cmd) → String
processResultToDebugString(ProcessResult result) → String
pubCmd(List<String> args) ProcessCmd
pub
run(String executable, List<String> arguments, {String workingDirectory, Map<String, String> environment, bool includeParentEnvironment: true, bool runInShell: false, Encoding stdoutEncoding: systemEncoding, Encoding stderrEncoding: systemEncoding, Stream<List<int>> stdin, StreamSink<List<int>> stdout, StreamSink<List<int>> stderr, bool verbose, bool commandVerbose}) → Future<ProcessResult>
if commmandVerbose or verbose is true, display the command. if verbose is true, stream stdout & stdin
runCmd(ProcessCmd cmd, {bool verbose, bool commandVerbose, Stream<List<int>> stdin, StreamSink<List<int>> stdout, StreamSink<List<int>> stderr}) → Future<ProcessResult>
Execute a predefined ProcessCmd command [...]