mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2024-11-26 16:51:08 +00:00
无法回收子进程
Signed-off-by: xlgitee <xulong19@huawei.com>
This commit is contained in:
parent
5ce765d479
commit
5cf38335d8
@ -13,10 +13,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
signal(SIGCHLD, SIG_IGN);
|
||||
while (1) {
|
||||
pause();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user