error : parallel :22: test:5: attempt to index ? (a function value)
r = rednet
r.open("top")
function listen()
id,msg,dis=r.receive()
shell.run(msg)
end
function shell()
io.write("> ")
io.read()
end
while true do
parallel.waitForAny(shell, listen)
end











