This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
BrianNovius's profile picture

Send output back help

Started by BrianNovius, 30 July 2017 - 03:37 PM
BrianNovius #1
Posted 30 July 2017 - 05:37 PM
Hello!

So I'm making a script for remote execution. I have a master computer that sends messages to work computers. Those computers run what is said in that message. Now that's all functioning properly. I now have a problem as I need the working computers to send the output of the command back to the master computer once it executed the command that was sent by the master computer. And with output I mean
print("hi")
hi <—– output.

Any ideas or help? Or even codes? Thank you very much in advance
Lyqyd #2
Posted 31 July 2017 - 01:01 AM
You could check out how nsh does it. The basic premise is that you redirect the terminal to a version that transmits the contents back to the client.