Enclose the app path in quotes, so that the `open` command doesn't split it if it contains spaces (#678)
* Enclose the app path in quotes, so that the `open` command doesn't split it if it contains spaces * [ado] Remove no longer needed homebrew fix Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com>
This commit is contained in:
Родитель
8c0f9ef070
Коммит
b192f9c7c5
|
@ -2,9 +2,6 @@
|
|||
# Task Group: Brew install node version
|
||||
#
|
||||
steps:
|
||||
- script: 'brew uninstall openssl@1.0.2t && rm -rf /usr/local/etc/openssl && rm -rf /usr/local/etc/openssl@1.1'
|
||||
displayName: Fix Homebrew
|
||||
|
||||
- script: 'brew bundle'
|
||||
displayName: 'brew bundle'
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ async function run(xcodeProject, scheme, args) {
|
|||
);
|
||||
|
||||
child_process.exec(
|
||||
'open -b ' + bundleID + ' -a ' + appPath,
|
||||
'open -b ' + bundleID + ' -a ' + '"' + appPath + '"',
|
||||
(error, stdout, stderr) => {
|
||||
if (error) {
|
||||
logger.error('Failed to launch the app', stderr);
|
||||
|
|
Загрузка…
Ссылка в новой задаче