diff options
| author | Miguel <m.i@gmx.at> | 2018-10-09 10:31:33 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-09 10:31:33 +0200 |
| commit | a6a11437a390fb7e95fe995214d82bf5dbfe1eaf (patch) | |
| tree | 2e45b4c1cee8a1ecb70cd773185154448e7f7ab0 /userspace/init.c | |
| parent | fe8180d88540bfa96595dcc58290de5425e534e3 (diff) | |
something wrnog with our pipes
Diffstat (limited to 'userspace/init.c')
| -rw-r--r-- | userspace/init.c | 6 |
1 files changed, 1 insertions, 5 deletions
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(); |
