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
1 changed files with 2 additions and 2 deletions

View File

@ -8,9 +8,9 @@ int main(int argc, char* argv[])
printf("Please enter the name of one of the following programs:\n");
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;
}