mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
Shell: Move the Shell to a separate directory and let's call it "Shell" :^)
This commit is contained in:
parent
e63cc38861
commit
fe73543d41
7 changed files with 217 additions and 180 deletions
|
@ -65,9 +65,9 @@ static void make_shell(int ptm_fd)
|
|||
perror("ioctl(TIOCSCTTY)");
|
||||
exit(1);
|
||||
}
|
||||
char* args[] = { "/bin/sh", nullptr };
|
||||
char* args[] = { "/bin/Shell", nullptr };
|
||||
char* envs[] = { "TERM=xterm", "PATH=/bin:/usr/bin", nullptr };
|
||||
rc = execve("/bin/sh", args, envs);
|
||||
rc = execve("/bin/Shell", args, envs);
|
||||
if (rc < 0) {
|
||||
perror("execve");
|
||||
exit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue