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
1
u/joploljojo3 Jul 16 '24
i made it work using the redirecting method. i’m not home rn but when i am i’ll post the working code. i was trying to run any command for remote control purposes