I want to run a command line that opens a new chrome window with another profile.
I tested the following commands:
Preconditions:
I have two profiles:
Profile 1
andProfile 2
Chrome is already running with
Profile 1
open -a "Google Chrome.app" --args --profile-directory="Profile 2"
The above command does nothing other than bringing focus to the currently running chrome with Profile 1
I also tried:
open -a "Google Chrome.app" --args --profile-directory="Profile 2" --new-window
The effect is the same.
I want to run a command line that opens a new chrome window with Profile 2
while there is already a Chrome window running with Profile 1
"/Applications/Google Chrome.app/Contents/MacOS/Chrome" --help
? The last part of Chrome can be something else too. you'd have to check."/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
instead ofopen
command