Python Forum

Full Version: How to run Ubuntu desktop AppImage file from script?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, all

I am currently searching for a method to launch .AppImage file from PyQt5 script under Ubuntu 16.04.

For instance, what I am trying to do is that I am trying to launch QGroundControl.AppImage by simply clicking a GUI button created by PyQt5.

I would appreciate any reference guide!
Thank you very much.

I found a solution. Please refer to the following script.

---
import os

os.chdir("/home/nvidia/qgc")
os.system("./QGroundControl.AppImage")