buxiasen
790be6d639
nshlib/nsh_parse: use sh -c replace pthread detach when nsh background.
...
pthread & detach will still quit when parent task exit,
cause nsh_parse clone args leak. nsh should use task instead of thread
this case can reproduce the memory leak.
int main(int argc, FAR char *argv[])
{
printf("Hello, World!!\n");
system("sleep 1 &");
return 0;
}
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
2024-10-22 00:04:09 +08:00
..
2024-10-02 21:13:54 +08:00
2024-10-17 18:06:32 +08:00
2022-10-16 14:59:08 +02:00
2024-10-02 21:13:54 +08:00
2024-09-28 10:47:32 +08:00
2024-08-08 19:19:18 -03:00
2024-09-28 11:28:15 +08:00
2023-09-21 10:48:29 +08:00
2024-10-19 14:07:32 +08:00
2024-08-08 19:19:18 -03:00
2024-10-13 15:48:57 +08:00
2023-08-29 03:11:28 +08:00
2023-06-12 13:37:27 +08:00
2024-10-19 14:07:32 +08:00
2023-07-31 07:58:41 -07:00
2024-09-28 11:28:15 +08:00
2024-10-17 08:55:51 +08:00
2024-10-17 18:06:48 +08:00
2024-02-25 00:55:47 -08:00
2023-05-08 21:35:16 +03:00
2024-01-06 04:34:27 -08:00
2022-09-22 14:22:13 +08:00
2023-02-24 17:38:19 +08:00
2024-08-23 22:10:04 +08:00
2024-10-22 00:04:09 +08:00
2022-09-22 14:22:13 +08:00
2023-02-24 17:38:19 +08:00
2024-10-17 00:00:51 +08:00
2024-02-25 00:55:47 -08:00
2024-08-26 01:54:46 +08:00
2024-09-23 08:34:16 +08:00
2024-02-25 00:55:47 -08:00
2024-10-11 14:59:22 +08:00
2023-02-24 17:38:19 +08:00
2022-11-07 15:24:08 +09:00
2023-05-08 21:35:16 +03:00
2023-07-30 22:20:02 -07:00
2024-10-17 18:06:32 +08:00
2023-06-15 03:23:04 +08:00
2023-02-24 17:38:19 +08:00
2023-05-08 21:35:16 +03:00
2024-10-02 21:13:54 +08:00
2024-10-17 18:06:32 +08:00
2022-04-21 12:54:24 +03:00
2022-04-21 12:54:24 +03:00