mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2025-02-18 19:18:12 +00:00
!46 Modify process exit bug
Merge pull request !46 from blackleon/master_1016
This commit is contained in:
commit
1286f86c74
@ -211,7 +211,8 @@ bool AppSpawnServer::ServerMain(char *longProcName, int64_t longProcNameLen)
|
||||
continue;
|
||||
} else if (pid == 0) {
|
||||
SpecialHandle(appProperty);
|
||||
return SetAppProcProperty(connectFd, appProperty, longProcName, longProcNameLen, fd);
|
||||
SetAppProcProperty(connectFd, appProperty, longProcName, longProcNameLen, fd);
|
||||
_exit(0);
|
||||
}
|
||||
|
||||
read(fd[0], &buff, sizeof(buff)); // wait child process resutl
|
||||
|
Loading…
x
Reference in New Issue
Block a user