!625 fix: 添加nativespawn更新全局pid

Merge pull request !625 from jiangwei/master
This commit is contained in:
openharmony_ci 2024-11-21 07:21:28 +00:00 committed by Gitee
commit 1d7a6c73e9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -164,7 +164,7 @@ bool IsAppspawnProcess()
getline(cmdline, procName, '\0');
cmdline.close();
}
return procName == "appspawn" || procName == "nwebspawn" || procName == "cjappspawn";
return procName == "appspawn" || procName == "nwebspawn" || procName == "cjappspawn" || procName == "nativespawn";
}
void InitPid()