Removed old syscalls
This commit is contained in:
@ -8,14 +8,14 @@ main() {
|
||||
|
||||
loop {
|
||||
io.write("λ ")
|
||||
n := io.in(command)
|
||||
n := io.read(command)
|
||||
|
||||
if n <= 0 {
|
||||
return
|
||||
}
|
||||
|
||||
command[n-1] = 0
|
||||
pid := sys.fork()
|
||||
pid := sys.clone(sig.chld, 0, 0, 0, 0)
|
||||
|
||||
if pid == 0 {
|
||||
sys.execve(command, 0, 0)
|
||||
|
Reference in New Issue
Block a user