Skip to content

[bug] kill命令不能退出后台程序 #9893

Open
@yixinghua121

Description

@yixinghua121

RT-Thread Version

c1166e0

Hardware Type/Architectures

k230

Develop Toolchain

GCC

Describe the bug

1.后台执行一个程序:/bin/killme.elf &
2.查看进程的ID:list_process,找出刚后台执行应用的pid
3.kill掉后台进程:kill $pid -s 2
4.list_process查看现有的进程
5.发现后台程序还在

Other additional context

#include <stdio.h>
#include <rtthread.h>

int main()
{
    printf("Please kill me.\n");

    while (1)
    {
        rt_thread_mdelay(100);
    }

    return 0;
}

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions