1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2011-11-21 00:30:24 +01:00
parent eb035d6a4a
commit 819c152292

View file

@ -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;
} }