feat(tty): 实现发送SIGINT终止信号 (#952)

* 实现SIGINT终止信号传递

* 添加test_sigint测试程序
This commit is contained in:
MemoryShore
2024-10-09 19:02:14 +08:00
committed by GitHub
parent 52dc4c3ee8
commit a8753f8fff
9 changed files with 103 additions and 10 deletions

View File

@ -6,7 +6,7 @@
"BuildFromSource": {
"Git": {
"url": "https://git.mirrors.dragonos.org.cn/DragonOS-Community/NovaShell.git",
"revision": "6c1ca14da7"
"revision": "b0dea7c16f"
}
}
},

View File

@ -0,0 +1,24 @@
{
"name": "test_sigint",
"version": "0.1.0",
"description": "一个用来测试sigint信号传递的app",
"task_type": {
"BuildFromSource": {
"Local": {
"path": "apps/test_sigint"
}
}
},
"depends": [],
"build": {
"build_command": "make install"
},
"install": {
"in_dragonos_path": "/bin"
},
"clean": {
"clean_command": "make clean"
},
"envs": [],
"target_arch": ["x86_64"]
}