Python line to run .jar works very strangely

102 views Asked by At

I'm trying to run limelight.jar with parameters with Python. Opening a brand new Python 3 shell and entering this:

os.system("java -jar /home/pi/Desktop/GGUIv0.8/limelight.jar stream -app Steam -notest 192.168.1.100")

Works fine. It brings up Steam Big Pic streamed from my PC to my Pi. Brill! But here's the thing. I put the exact same thing into a Python script, like a Tkinter GUI, and when it gets run it returns a 0 and no stream appears, no matter how long I wait.

What is going on and how can I solve this?!

0

There are 0 answers