GNOME Bugzilla – Bug 92024
Executing progs in Nautilus should set work directory
Last modified: 2004-12-22 21:47:04 UTC
Description of Problem: Let's say I have an executable called /home/foo/apps/bar. When I go to /home/foo/apps, and doubleclick on bar, bar's working directory is /home/foo, but I expect it to be /home/foo/apps, since that's the directory where I launched the app from. So if bar is a shell script: #!/bin/sh echo "`pwd`" and I execute it in Nautilus, then it prints "/home/foo", but I want it to print "/home/foo/apps", just like when I type ./bar in the shell.
*** This bug has been marked as a duplicate of 45917 ***