Skip to content

Commit b192f9c

Browse files
sergialloy
andauthored
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>
1 parent 8c0f9ef commit b192f9c

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

.ado/templates/apple-node-setup.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
# Task Group: Brew install node version
33
#
44
steps:
5-
- script: 'brew uninstall openssl@1.0.2t && rm -rf /usr/local/etc/openssl && rm -rf /usr/local/etc/openssl@1.1'
6-
displayName: Fix Homebrew
7-
85
- script: 'brew bundle'
96
displayName: 'brew bundle'
107

local-cli/runMacOS/runMacOS.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async function run(xcodeProject, scheme, args) {
8787
);
8888

8989
child_process.exec(
90-
'open -b ' + bundleID + ' -a ' + appPath,
90+
'open -b ' + bundleID + ' -a ' + '"' + appPath + '"',
9191
(error, stdout, stderr) => {
9292
if (error) {
9393
logger.error('Failed to launch the app', stderr);

0 commit comments

Comments
 (0)