-
Notifications
You must be signed in to change notification settings - Fork 1
shell Module
Aarik Pokras edited this page Dec 14, 2024
·
3 revisions
Execute a command in the shell and get its return value.
int execute(const char *command)
Move or rename a file. A non-zero value of this function indicates a failure. It will warn the user before the operation is performed.
int move_file(const char* origin, const char* destination)
You may be wondering why this is not in the fs
module. This is because things in the fs
module use file streams, whereas things in the shell module use the shell.