Commit Graph

17 Commits

Author SHA1 Message Date
technoweenie c533344a20 open: StartWith() and RunWith() revert to default if appName is empty 2020-02-21 07:25:01 -07:00
Adam Tang 34f07943e0
causing goplay installation failed.
... > go get -v -u github.com/haya14busa/goplay/cmd/goplay
github.com/haya14busa/goplay (download)
github.com/skratchdot/open-golang (download)
github.com/skratchdot/open-golang/open
# github.com/skratchdot/open-golang/open
..\skratchdot\open-golang\open\exec_windows.go:10:2: imported and not used: "syscall"
2019-04-01 22:31:27 +08:00
skratchdot 1a48294fa5 commenting out another line from #17 that was missed in 7972e18a72 2019-03-31 10:38:44 -04:00
Sean Houghton 7972e18a72 Don't HideWindow, it breaks opening folders on windows 2019-03-22 13:31:33 -07:00
chengziqing 4bd3886adc hide cmd window 2018-11-08 13:29:21 +08:00
Lawrence Craft aeb1cab633 Fixing #9 - not replacing ampersand in calls to rundll32 2016-03-02 13:33:19 +00:00
skratchdot c8748311a7 adding links to xdg-open source code in case we want to use it someday 2015-02-21 09:03:35 -05:00
skratchdot e43cb5678b re-adding call to cleaninput() so ampersands work in urls.
running `go fmt`
2015-02-21 09:02:34 -05:00
fffw 94271da2d0 use rundll32 to open url on windows 2015-02-21 16:46:14 +08:00
Ox Cart 40c15a1b14 Switched to using runhide to suppress command prompt on windows when opening UI 2015-02-20 20:38:23 -06:00
Sebastian Thiel 05ac2d7bf3 Adjusted linux open-code to assume existence of xdg-open.
The current implentation didn't work without a side-by-side file, which
somewhat reduces the usefulness of this library.

See https://github.com/skratchdot/open-golang/issues/2 .
2014-09-04 12:56:57 +02:00
skratchdot a09a2535ca fixes #6 - (Windows) open.Start does not correctly handle URLs with
ampersands
2014-06-19 16:05:56 -04:00
Nick Powell c47f41e3ae Fix 'start' executable not found in %PATH% 2014-05-12 13:53:40 -07:00
skratchdot 00211322a2 fixes #2 2014-02-04 20:55:06 -05:00
Vic Demuzere 515ecbcfed Use build tags instead of checking platform at runtime. 2014-02-04 17:11:26 +01:00
Tracy Atteberry 5f1a1e5c5e Corrected a few typos. Added invalid url for TestStartWith as it seems was intended. 2014-01-18 12:29:59 -06:00
skratchdot 9723076429 initial commit 2013-06-09 08:04:09 -04:00