Python 我隐藏(不是为了杀死和隐藏)XBMC的树莓皮?

Python 我隐藏(不是为了杀死和隐藏)XBMC的树莓皮?,python,raspberry-pi,xbmc,Python,Raspberry Pi,Xbmc,我藏起来不是为了杀人,藏起来是为了树莓皮 在xbmc上,我只编写了一个目录,单击要运行我的应用程序的项目,同时隐藏xbmc并在我的应用程序退出时重新启动 我试着 xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"togglefullscreen"},"id":"1"}') os.system('sleep 10') //run my app xbmc.executeJS

我藏起来不是为了杀人,藏起来是为了树莓皮

在xbmc上,我只编写了一个目录,单击要运行我的应用程序的项目,同时隐藏xbmc并在我的应用程序退出时重新启动

我试着

xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"togglefullscreen"},"id":"1"}')
os.system('sleep 10') //run my app
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"togglefullscreen"},"id":"1"}')
我从在MAC OS上启动应用程序的插件中获取了这段代码

xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"togglefullscreen"},"id":"1"}')
os.system('sh -c "sudo killall -STOP xbmc.bin && runmyapp && sudo killall -CONT xbmc.bin"') //run my app
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"togglefullscreen"},"id":"1"}')