We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65618fe + 0fc8268 commit 995f2d8Copy full SHA for 995f2d8
cli/valet.php
@@ -184,8 +184,7 @@
184
*/
185
$app->command('open [domain]', function ($domain = null) {
186
$url = "http://".($domain ?: Site::host(getcwd())).'.'.Configuration::read()['domain'];
187
-
188
- passthru("open ".escapeshellarg($url));
+ CommandLine::runAsUser("open ".escapeshellarg($url));
189
})->descriptions('Open the site for the current (or specified) directory in your browser');
190
191
/**
0 commit comments