globalActivateFromPath method
Run dart pub global activate for a packae located in path
relative to the current directory.
Implementation
void globalActivateFromPath(String path) {
final pubArgs = 'global activate --source path $path';
if (useDartCommand) {
'${DartSdk().pathToDartExe} pub $pubArgs '
.start(progress: Progress.printStdErr());
} else {
'${DartSdk().pathToPubExe} $pubArgs'
.start(progress: Progress.printStdErr());
}
}