After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 92024 - Executing progs in Nautilus should set work directory
Executing progs in Nautilus should set work directory
Status: RESOLVED DUPLICATE of bug 45917
Product: nautilus
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-08-29 18:23 UTC by Hongli Lai
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Hongli Lai 2002-08-29 18:23:34 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.
Comment 1 Dave Bordoley [Not Reading Bug Mail] 2002-08-30 02:53:57 UTC

*** This bug has been marked as a duplicate of 45917 ***