Closed GoogleCodeExporter closed 9 years ago
I just set my auth_browser to 'open', a osx command line utility to open
arbitrary files and urls with the default application for them.
Original comment by ulrich.moritz
on 18 Jun 2010 at 10:49
I know about the open command, but I think using the default browser by default
on all systems is a better idea.
Original comment by impiaaa
on 19 Jun 2010 at 12:44
Yet another wonderful Python module I was unaware of. I've started working in
the use of webbrowser, and I'll attach a patch of the final changes.
Original comment by tom.h.mi...@gmail.com
on 19 Jun 2010 at 7:48
Here's the patch (svn diff) for googlecl.service. I kept the auth_browser
config option in, just in case the user wants to launch a non-standard browser.
Original comment by tom.h.mi...@gmail.com
on 19 Jun 2010 at 8:00
Attachments:
This issue was closed by revision r246.
Original comment by tom.h.mi...@gmail.com
on 19 Jun 2010 at 8:04
Here's a diff that expands on impiaaa's. It adds a fix for newer osx systems by
bringing in a compat file from py3k. It also handles the defaults differently,
since BROWSER is recognized by get() anyway. Therefore there is no reason to
try and manually read it. FYI, i've only tested this once on osx, but it should
generally work.
Original comment by dcol...@gmail.com
on 20 Jun 2010 at 5:37
Attachments:
The patch committed for r246 wont work with google chrome on osx. Also there is
still no need to read the BROWSER env var manually. get() does this for you.
Original comment by dcol...@gmail.com
on 20 Jun 2010 at 5:41
Ok I see that get was added, but it'll error on osx. The osascript is not
correct in that version of the webbrowser module.
Original comment by dcol...@gmail.com
on 20 Jun 2010 at 5:57
dcolish, I'm not sure I follow your patch. Is the compat module only available
in py3k? What error occurs for Chrome on MacOSX with this patch?
Original comment by tom.h.mi...@gmail.com
on 20 Jun 2010 at 6:49
Original issue reported on code.google.com by
impiaaa
on 18 Jun 2010 at 10:08Attachments: