Browse Source

[finsh] export system symbol

Bernard Xiong 9 years ago
parent
commit
340a013f53
1 changed files with 1 additions and 0 deletions
  1. 1 0
      components/finsh/msh.c

+ 1 - 0
components/finsh/msh.c

@@ -253,6 +253,7 @@ int system(const char *command)
 {
     return msh_exec_module(command, rt_strlen(command));
 }
+RTM_EXPORT(system);
 #endif
 
 static int _msh_exec_cmd(char* cmd, rt_size_t length, int *retp)