Re: wxEuphoria Linux Problem: double clicking freecell executable
- Posted by Alexander Toresson <alexander.toresson at gmail.com> Aug 19, 2005
- 541 views
Bernie Ryan wrote: > > irv mullins wrote: > > > IOW, if you are in your home directory: /home/jerry, and browse around > > into /home/jerry/somefolder and click on someprog.eu, the logged > > in directory is *still* /home/jerry. So the program looks there > > for any graphics, ini, or other files it needs to use. It won't > > find them. Changing or setting path in your environment won't help. > > > > I (finally) solved that problem in EuGTK. Look there for the answer. > > It's a matter of parsing the command line. You can easily add this > > to your programs. If you are running someone else's bound pgm, you > > are SOL. > > > > Irv: > > Can't you tell exu to always look in the current directory. > by adding the current directory symbol ./ in either > the profile EUDIR or EUINC exports ? > > > Bernie > The problem is that the current directory aren't set correctly by the file manager. That means that ./ will still look in the current directory which was /home/jerry in the example above. Regards, Alexander Toresson