title: How to open a Firefox using a certain profile if profile is not already running or else reuse it
body: <p>I open Firefox using the following command to open a new instance and using the profile "Profile_name"</p>
  
  <pre><code>   open -n -a Firefox.app --args -profile Profile_name -no-remote
  </code></pre>
  
  <p>But I may not know if this profile is already running so when I again use the same command to open Firefox it says "Only one instance can be open at a time"</p>
  
  <p>So is there a command to start a new instance for the profile if it is not already running or else reuse the already running instance?</p>