bluerobotics / companion

Companion computer startup scripts and examples
https://www.ardusub.com/operators-manual/companion-web.html
GNU General Public License v3.0
48 stars 54 forks source link

ping360_bridge_manager #357

Closed 1chick closed 2 years ago

1chick commented 4 years ago

def device_has_screen(device):

    output = subprocess.check_output(["sudo", "-Au", "pi", "screen", "-ls"], universal_newlines=True)
    return output.decode()

can i comment return output.decode() ?

Williangalvani commented 3 years ago

Yes, that sound like a leftover of debugging. Are you using a screen version newer than 4.2?

1chick commented 3 years ago

Yes, that sound like a leftover of debugging. Are you using a screen version newer than 4.2?

ok,Thanks. No its 4.06, i can't get normal output if the code is not commented. Would you test it as you have free time?

Williangalvani commented 3 years ago

ok,Thanks. No its 4.06, i can't get normal output if the code is not commented. Would you test it as you have free time?

Yes, I reopened the issue to take a better look at it later.