Launch and External Application
Posted
#1
(In Topic #703)
Regular

I am having trouble finding the method to launch an external python application.
In the attempt below, I get a "File or directory does not exist " error.
The App.py resides on my Desktop and is definitely in the path I provided.
I wish to launch it in the linux teminal shell.
BUTTON:
Any guidance would be appreciated.
Cheers
Posted
Expert

You may be able to get xdg-open to work for this.
xdg-open will find the correct application to open the file appended to the command.
I use the subroutine below in a module to globally open things like text, html, {office documents} ect.
If you have the appropriate applications installed and registered correctly then it should open any associated file.
The xdg family of utilities are quite good and are on 'most' linux installs.
Cheers - Quin.
I code therefore I am
I code therefore I am
Posted
Guru

sarpomira said
Hi All,
I am having trouble finding the method to launch an external python application.
In the attempt below, I get a "File or directory does not exist " error.
The App.py resides on my Desktop and is definitely in the path I provided.
I wish to launch it in the linux teminal shell.
BUTTON:
Any guidance would be appreciated.
Cheers
you have no / at the beginning of the path…
try this..
Posted
Guru

Posted
Regular

1 guest and 0 members have just viewed this.

