run application, with name containing spaces, from the command line with switches
I would like to run an application from the terminal with a switch:
open -a Google Chrome.app max_old_space_size=4096
But it does not work because the name contains a space. I can start it by adding quotes and not the switch:
open -a 'Google Chrome.app'
But if I add the switch, it does not work.
open -a 'Google Chrome.app' max_old_space_size=4096
So how can I run this application with the switch?
MacBook Pro Retina (2015 and later)