fix
parent
889fca27f1
commit
d686b0ba05
|
|
@ -650,7 +650,9 @@ const remote_client_logger_1 = __webpack_require__(68972);
|
|||
class CloudRunnerAgentSystem {
|
||||
static Run(command) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
remote_client_logger_1.RemoteClientLogger.log(`${command}`);
|
||||
for (const element of command.split(`\n`)) {
|
||||
remote_client_logger_1.RemoteClientLogger.log(element);
|
||||
}
|
||||
return yield new Promise((promise) => {
|
||||
let output = '';
|
||||
const child = child_process_1.exec(command, (error, stdout, stderr) => {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -3,7 +3,9 @@ import { RemoteClientLogger } from './remote-client-logger';
|
|||
|
||||
export class CloudRunnerAgentSystem {
|
||||
public static async Run(command: string) {
|
||||
RemoteClientLogger.log(`${command}`);
|
||||
for (const element of command.split(`\n`)) {
|
||||
RemoteClientLogger.log(element);
|
||||
}
|
||||
return await new Promise<string>((promise) => {
|
||||
let output = '';
|
||||
const child = exec(command, (error, stdout, stderr) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue