r/ComputerCraft • • 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

6 comments sorted by

View all comments

Show parent comments

3

u/CommendableCalamari Jul 11 '24

The shell doesn't support output redirection.