angular-cn/dev-infra/utils/shelljs.ts

15 lines
382 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {exec as _exec, ShellString} from 'shelljs';
/* Run an exec command as silent. */
export function exec(cmd: string): ShellString {
return _exec(cmd, {silent: true});
}