/[pxelator]/lib/PXElator/browser.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /lib/PXElator/browser.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 566 - (show annotations)
Wed Nov 9 11:58:27 2011 UTC (12 years, 5 months ago) by dpavlin
File size: 216 byte(s)
specify user-data-dir for google chrome since we run it as root
1 package browser;
2
3 sub start {
4 my $url = $ENV{url};
5 exec "google-chrome --user-data-dir=/tmp/chrome $url"; # http://localhost:5984/_utils/database.html?pxelator";
6 exec "/etc/alternatives/x-www-browser $url";
7 }
8
9 1;

  ViewVC Help
Powered by ViewVC 1.1.26