From a6a11437a390fb7e95fe995214d82bf5dbfe1eaf Mon Sep 17 00:00:00 2001 From: Miguel Date: Tue, 9 Oct 2018 10:31:33 +0200 Subject: something wrnog with our pipes --- userspace/init.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'userspace/init.c') diff --git a/userspace/init.c b/userspace/init.c index 645acd9..a2b2425 100644 --- a/userspace/init.c +++ b/userspace/init.c @@ -6,11 +6,7 @@ int main(int argc, char **argv) { - - // loop forever and spawn shells if the top-shell exits - int fds[2]; - _pipe(fds); - + _execve("/bin/xterm",NULL,NULL); int pid=_fork(); -- cgit v1.2.3