Skip to content

Added a space before stdout redirection at browserstack-local call.#14

Open
liubigli wants to merge 1 commit intobrowserstack:masterfrom
liubigli:custom-param-bs-local-php
Open

Added a space before stdout redirection at browserstack-local call.#14
liubigli wants to merge 1 commit intobrowserstack:masterfrom
liubigli:custom-param-bs-local-php

Conversation

@liubigli
Copy link
Copy Markdown

@liubigli liubigli commented Apr 3, 2017

Normally when we pass to the start function parameters as for example '-parallel-runs', the function add_args append it to the string $call. Before execute the call the stderr to stdout redirection is appended to the string ( see line 121 in Local.php ).
If some custom parameters are passed to the start method, the value of the last custom parameter is sticked with the string "2>&1" in $call variable and this cause an exception.
Adding a space avoid this exception in this case.

…n this way it is possible to add custom parameters to the call
@mbtreetime mbtreetime mentioned this pull request Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant