!227 修复openposix执行正常,但报告异常的bug

Merge pull request !227 from liguangjie/master
This commit is contained in:
openharmony_ci 2023-05-22 08:57:07 +00:00 committed by Gitee
commit 331f758711
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -59,7 +59,7 @@ class ShellHandler:
self.unfinished_line = lines[-1]
# not return the tail element of this list contains unfinished str,
# so we set position -1
return lines[:-1]
return lines
def add_process_method(self, func):
if isinstance(func, types.FunctionType):