Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » GetExeFilePath() in Linux
Re: GetExeFilePath() in Linux [message #6683 is a reply to message #6681] Wed, 22 November 2006 19:04 Go to previous messageGo to previous message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
luzr wrote on Wed, 22 November 2006 16:30

Well, I was thinking about this last 4 days (of course, not all the time) and I must admit I am completely clueless how is this supposed to work...


Well, as a shell script this method works. You can download e.g. OpenOffice or Firefox from their original site, extract into your home dir and run from there. And that's how they do it. Just open the launch wrapper and see.
If, however, this works without going through a shell in all cases, I'm not sure.
I created a sample console app, which prints exepath to stdout, and a gui app, which pops up a dialog with the exepath, and that worked fine, launching from both a terminal or the file-manager.

Guido
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Double formatting bug?
Next Topic: How to catch keyboard input?
Goto Forum:
  


Current Time: Sat Aug 16 14:53:35 CEST 2025

Total time taken to generate the page: 0.04656 seconds