[mythtv-users] EXEC command in MythTV menu
Hika van den Hoven
hikavdh at gmail.com
Tue Nov 7 11:02:08 UTC 2017
Hoi Phill,
Tuesday, November 7, 2017, 10:34:24 AM, you wrote:
> I'm trying to call Kodi from a MythTV menu. The menu runs an EXEC
> command to run a shell script which:
> a) starts up a VPN connection on the Mythfrontend machine, and then
> b) runs Kodi
> When I run the command manually from a command prompt (minus the
> "EXEC") everything works fine. But when I select the menu item
> nothing happens. The menu command is:
> EXEC cat /home/phill/.pme-password | sudo -kS
> ./kodi_start_with_vpn.sh philledwards at gmail.com_au-syd_D29AC.conf
> Any suggestions as to why it works from a command prompt but not
> from the MythTV menu? Or how I can get some debug info to find out what's going on?
Have you tried putting your entire command line in a shell script,
calling that in mythtv?
If that works it could be mythtv is not calling a completely
initialized shell.
Tot mails,
Hika mailto:hikavdh at gmail.com
"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"
De lerende Mens
More information about the mythtv-users
mailing list