Update: WebSocket下MicroPython板卡支持管理板卡文件
This commit is contained in:
@@ -16,7 +16,7 @@ export default class ShellMicroPython extends Shell {
|
||||
com: config.port
|
||||
};
|
||||
const command = MString.tpl(config.command, info);
|
||||
return this.exec(command);
|
||||
return this.execUntilClosed(command);
|
||||
}
|
||||
|
||||
async upload(config) {
|
||||
@@ -26,6 +26,6 @@ export default class ShellMicroPython extends Shell {
|
||||
com: config.port
|
||||
};
|
||||
const command = MString.tpl(config.command, info);
|
||||
return this.exec(command);
|
||||
return this.execUntilClosed(command);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user