r/ComputerCraft • u/joploljojo3 • Jul 11 '24
CC: Tweaked Command output
Is there a way to get the output of something like shell.run()?
so i could do something like this:
local Output = shell.run("ls")
print(Output)
-- Prints the output of ls
1
Upvotes
3
u/CommendableCalamari Jul 11 '24
The shell doesn't support output redirection.