Closed mbtreetime closed 3 years ago
Starting the BrowserStackLocal process using the following code results in the local-identifier to have a 2 appended to the end of it.
<?php
require_once('vendor/autoload.php');
use BrowserStack\Local;
$browserStackLocal = new Local();
$browserStackLocalArgs = [
'key' => 'XXXXXXXXXXXXXXXXXXXX',
'force' => true,
'local-identifier' => 'localproxy'
];
$browserStackLocal->start($browserStackLocalArgs);
$ ps -wC BrowserStackLocal -o cmd
CMD
BrowserStackLocal -logFile /var/www/projectdir/local.log XXXXXXXXXXXXXXXXXXXX -force -local-identifier localproxy2 -daemonInstance
Duplicate of #14 from 2017
concatenation of 2>&1 without a space before causes the 2 to be appended to the last argument of the command