¡@

Home 

python Programming Glossary: xdg

Start Another Program From Python >Separately<

http://stackoverflow.com/questions/13078071/start-another-program-from-python-separately

linux distros etc. there's a very similar command called xdg open xdg open opens a file or URL in the user's preferred application... etc. there's a very similar command called xdg open xdg open opens a file or URL in the user's preferred application... URL in the user's preferred application. Again just popen xdg open usr local bin mygame . If you expect to run on other platforms..

How to open a file with the standard application?

http://stackoverflow.com/questions/1679798/how-to-open-a-file-with-the-standard-application

os.startfile is only available for windows for now but xdg open will be available on any unix client running X. if sys.platform.. client running X. if sys.platform 'linux2' subprocess.call xdg open file else os.startfile file share improve this answer..