run method
Run the given installed Dart application.
Implementation
String run(String package,
{List<String> arguments,
RunOptions runOptions,
String script,
String workingDirectory}) {
runOptions = mergeWorkingDirectory(workingDirectory, runOptions);
var scriptArg = script == null ? package : '$package:$script';
List<String> args = ['global', 'run', scriptArg];
if (arguments != null) args.addAll(arguments);
return runlib.run(sdkBin('pub'), arguments: args, runOptions: runOptions);
}