Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(51)

Issue 6460061: open url on launch of web server (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by mzero
Modified:
13 years, 1 month ago
Reviewers:
Jasvir, Jasvir Nagra, thecomfyshell
Visibility:
Public.

Description

open url on launch of web server simple implementation of this feature: just call xdg-open (or if that fails, open) after sleep 1 second when we run the web server. see issue #3 for related features this CL is _not_ trying to solve: http://code.google.com/p/plush/issues/detail?id=3 commit: http://code.google.com/p/plush/source/detail?r=1e0001d4242196edb177d8257f3af7b7a9c6495c

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M src/Plush/Server.hs View 3 chunks +10 lines, -2 lines 1 comment Download

Messages

Total messages: 2
mzero
review please
13 years, 1 month ago (2012-08-08 21:58:19 UTC) #1
Jasvir
13 years, 1 month ago (2012-08-08 22:15:38 UTC) #2
LGTM

http://codereview.appspot.com/6460061/diff/1/src/Plush/Server.hs
File src/Plush/Server.hs (right):

http://codereview.appspot.com/6460061/diff/1/src/Plush/Server.hs#newcode62
src/Plush/Server.hs:62: openCmd url = "xdg-open " ++ url ++ " 2>/dev/null ||
open " ++ url
clever.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b