Posted 15 February 2013 - 06:57 AM
I have a script that runs a background rednet listener and a new shell by use of parallel.
then i try to terminate a program that the new shell is running it just ends the parallel…
Any clues as to how i avoid this? thanks
then i try to terminate a program that the new shell is running it just ends the parallel…
function runShell()
shell.run("shell", "/bin/start-up")
end
function runControl()
shell.run("rednet_control")
end
parallel.waitForAny(runShell, runControl)
os.shutdown()
Any clues as to how i avoid this? thanks