2

I am using the subprocess module in Python to navigate and run commands on behalf of a user. I now want to be able to open the terminal session so that the user can enter their own commands.

I have used Tmux and Screen to create a shared terminal session and I have had no luck.

When initiating the shared terminal session with Tmux through the subprocess module I get the error:

"Open terminal failed: not a terminal"

and with Screen, I get the error:

"Must be connected to a terminal"

Any help would be greatly appreciated.

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.