mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-09 06:25:16 +00:00
apps/system/system/system.c: Correct a path name.
This commit is contained in:
parent
97acb41b90
commit
e7cd81a45e
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ int system(FAR const char *cmd)
|
|||
argv[1] = NULL;
|
||||
|
||||
#ifdef CONFIG_BUILD_LOADABLE
|
||||
errcode = posix_spawn(&pid, CONFIG_SYSTEM_OPEN_SHPATH, NULL, &attr,
|
||||
errcode = posix_spawn(&pid, CONFIG_SYSTEM_SYSTEM_SHPATH, NULL, &attr,
|
||||
argv, (FAR char * const *)NULL);
|
||||
#else
|
||||
errcode = task_spawn(&pid, "popen", nsh_system, NULL, &attr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue