mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Help now shell-offs ls /bin, instead of ls /.
This commit is contained in:
parent
eb035d6a4a
commit
819c152292
1 changed files with 2 additions and 2 deletions
|
@ -8,9 +8,9 @@ int main(int argc, char* argv[])
|
||||||
printf("Please enter the name of one of the following programs:\n");
|
printf("Please enter the name of one of the following programs:\n");
|
||||||
|
|
||||||
const char* programname = "ls";
|
const char* programname = "ls";
|
||||||
const char* newargv[] = { programname };
|
const char* newargv[] = { programname, "/bin" };
|
||||||
|
|
||||||
Maxsi::Process::Execute(programname, 1, newargv);
|
Maxsi::Process::Execute(programname, 2, newargv);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue