Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mbender74 committed May 2, 2022
2 parents a297d4e + 0ca2e56 commit 0da0759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/cli/hooks/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ exports.init = function (logger, config, cli) {

// Open the app
logger.info(__('Launching Mac application'));
const child = spawn(`${builder.iosBuildDir}/${builder.tiapp.name}.app/Contents/MacOS/${builder.tiapp.name}`);
const child = spawn('open', [ '-a', '${builder.iosBuildDir}/${builder.tiapp.name}.app', '-W'] );
child.on('error', err => logger.error(err));
// "Forward" the exit code of the app to this process (when the app exits)
child.on('exit', (code, _signal) => {
Expand Down

0 comments on commit 0da0759

Please sign in to comment.