aboutsummaryrefslogtreecommitdiffstats
path: root/browser_linux.go
diff options
context:
space:
mode:
authorDave Cheney2018-09-16 11:17:32 +1000
committerGitHub2018-09-16 11:17:32 +1000
commit0a3d74bf9ce488f035cf5bc36f753a711bc74334 (patch)
treeae42ab57e1d38496752b1d07961f56d93bf82159 /browser_linux.go
parentc90ca0c84f15f81c982e32665bffd8d7aac8f097 (diff)
parent755be2c54b4e61b204e8a89c9464e0fe13eae057 (diff)
downloadbrowser-0a3d74bf9ce488f035cf5bc36f753a711bc74334.tar.bz2
Merge pull request #13 from jrsearles/fix/windows-hide-consoleHEADmaster
Hide console in windows when launching process
Diffstat (limited to 'browser_linux.go')
-rw-r--r--browser_linux.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/browser_linux.go b/browser_linux.go
index bed47dd..656c693 100644
--- a/browser_linux.go
+++ b/browser_linux.go
@@ -1,5 +1,9 @@
package browser
+import "os/exec"
+
func openBrowser(url string) error {
return runCmd("xdg-open", url)
}
+
+func setFlags(cmd *exec.Cmd) {}