Documentation
¶
Index ¶
- func KillPort(port int)
- func OpenBrowser(target string)
- func Run(name string, args ...string) error
- func RunWithEnv(env map[string]string, name string, args ...string) error
- func StartBackground(ctx context.Context, env map[string]string, name string, args ...string) (*exec.Cmd, error)
- func WaitForURL(urlStr string, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KillPort ¶
func KillPort(port int)
KillPort finds any process listening on the given TCP port and terminates it
func OpenBrowser ¶
func OpenBrowser(target string)
OpenBrowser opens a file or URL in the default browser (preferring Google Chrome on Mac)
func RunWithEnv ¶
RunWithEnv executes a command with additional environment variables
Types ¶
This section is empty.