trait ExecTrait (View source)

Methods

TRUE
startBrowser($uri = null, $sleep = false, $port = false, $browser = true)

Starts a background browser/tab for the current site or a specified URL.

Details

TRUE startBrowser($uri = null, $sleep = false, $port = false, $browser = true)

Starts a background browser/tab for the current site or a specified URL.

Uses a non-blocking proc_open call, so Drush execution will continue.

Parameters

$uri
$sleep
$port
$browser

Return Value

TRUE if browser was opened, FALSE if browser was disabled by the user or a, default browser could not be found.