apps/system/system/system.c: Correct a path name.
This commit is contained in:
parent
97acb41b90
commit
e7cd81a45e
@ -145,7 +145,7 @@ int system(FAR const char *cmd)
|
|||||||
argv[1] = NULL;
|
argv[1] = NULL;
|
||||||
|
|
||||||
#ifdef CONFIG_BUILD_LOADABLE
|
#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);
|
argv, (FAR char * const *)NULL);
|
||||||
#else
|
#else
|
||||||
errcode = task_spawn(&pid, "popen", nsh_system, NULL, &attr,
|
errcode = task_spawn(&pid, "popen", nsh_system, NULL, &attr,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user