Opened 12 years ago
Closed 9 years ago
#1707 closed defect (fixed)
g.manual does not run html browser in background
Reported by: | annakrat | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.3 |
Component: | Docs | Version: | unspecified |
Keywords: | g.manual | Cc: | grass-dev@… |
CPU: | All | Platform: | All |
Description
In grass 6 g.manual doesn't launch html browser in the background so it is blocking the gui (or command line). In grass 7 it doesn't block anything.
In grass 7, python script calls os.execlp. In grass 6, bash script is used. If I add '&' at the end of the command (in scripts/g.manual/g.manual, line 91) like this:
"$GRASS_HTML_BROWSER" file://"$DOC_BASE/$1.html" &
it works for me (using Ubuntu). I guess this not solution for all platforms?
Change History (4)
comment:1 by , 12 years ago
comment:2 by , 11 years ago
Component: | Default → Docs |
---|---|
CPU: | Unspecified → All |
Platform: | Unspecified → All |
We tried that in the past, but had to revert it as it failed for people using a text based html browser like lynx or links.
search the ML for earlier discussion of the issue.
comment:4 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to neteler:
Is this still an issue in G6?
Quickly tested help from start up dialog, location wizard, main gui, modeler - works ok.
Workaround implemented using webbrowser from Standard Python Library (only for start up page and location wizard, r52953). System default web browser is started.
Alternatively for wxGUI it would be possible to use wxLaunchDefaultBrowser.