Connect to an existing screen session

Jul 1, 2013 at 10:11 PM
Edited Jul 2, 2013 at 4:47 PM
Hi All, hoping someone can point me in the correct direction!

I am trying to connect to an existing screen session using the library, if I just use sshclient.createcommand("screen -r") then I get a 'must be connected to terminal' error

Does anyone know if this is possible? Ad if so, where to start?

Thanks Dave


D'oh! just add a -t switch at the start of the command, so -t screen -r