How do I overcome TTY OUTPUT if TTY not active?
#1
Hi guys

Thank you for all the help over the last couple of days.

I have a script that runs a SUDO command and needs TTY output, but aborts due to the fact that TTY does not feature in the XBMC environment.

Does anyone know how to evercome this?

I am a shell-script writer and call the .sh from a .py. The .xsession-errorlog shows me that I need TTY OUTPUT.

The only way I can see how to do this is to run the script as part of the INIT process at boot-time, but this is not really conducive with what I want to accheave.

Cheers
cyber7
Reply
#2
What is your end goal. 9 times out of 10 a system call is the wrong method.
Reply
#3
Sorry, the SUDO file was not 100% ok.

Now everything works Smile
Reply

Logout Mark Read Team Forum Stats Members Help
How do I overcome TTY OUTPUT if TTY not active?0