1.2-dev merge #5

Merged
Astronand merged 35 commits from 1.2-dev into main 2026-03-10 12:27:09 -04:00
2 changed files with 8 additions and 2 deletions
Showing only changes of commit 1827a463eb - Show all commits
+3
View File
@@ -0,0 +1,3 @@
local args={...}
table.insert(args, "-lah")
syscall.exec("/bin/ls", args)2
+5 -2
View File
@@ -1,6 +1,9 @@
--:Minify:-- --:Minify:--
local path=...
path=path or "/dev/tty/1"
local syscalls=syscall.sysdump() local syscalls=syscall.sysdump()
local fd=syscall.open(path,"w")
for i=1, #syscalls do for i=1, #syscalls do
print(syscalls[i]) syscall.write(fd,syscalls[i].."\n)
end end
print("Total # of syscalls: "..tostring(#syscalls)) syscall.write(fd,"Total # of syscalls: "..tostring(#syscalls))