Jump to content




Send output back help

wireless computer

1 reply to this topic

#1 BrianNovius

  • New Members
  • 1 posts

Posted 30 July 2017 - 04: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

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 31 July 2017 - 12: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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users