| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: chenyong <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The ptr is set in the following code. So remove the first one.
|
|
|
|
Just branch out and no complain on command length == 0;
|
|
When DFS_USING_WORKDIR is enabled, msh will try to chdir if the command
is not found. For example, if there is folder named "SD", and there is
no `SD` command and `SD.mo` module, typing "SD" in msh will cd to the
folder.
In more detail, the execution order right now is:
1. built-in command
2. module
3. cd to path
If you have a folder named "ps", you have to run `cd ps` to change the
working dir.
|
|
Msh can execute module directly. So try to auto-complete the path when
user press TAB. There is a chance that the path is a module.
|
|
|
|
|
|
|
|
|
|
fix msh_exec(char* cmd, rt_size_t length) bug
|
|
|
|
|
|
|
|
|
|
|