create proper shell

This commit is contained in:
Ryan T
2026-02-14 23:31:33 -05:00
parent 403178c832
commit 753c34bffa
3 changed files with 206 additions and 33 deletions

View File

@@ -59,7 +59,7 @@ while true do
proc = syscall.spawn(function(...)
syscall.open("/dev/tty/TTY1","r")
syscall.open("/dev/tty/TTY1","w")
syscall.open("/dev/null","r")
syscall.open("/dev/null","w")
program(...)
end, path, nil, {table.unpack(split, 2)})
end