Starting multiple firefox profiles with batch file in linux
You need to run them in the background by adding an
&
to the end of the commands
Multiple profiles in firefox using one sync account
Sorry, Firefox always links 1 profile to 1 sync account.
I would recommend you to create a second Firefox profile and use one for work and one for private use. This would also clearly separate data like history, ... which you don't sync.
See here for instructions:
Batch Script / CMD [ open two different links both in different google chrome profiles ]
For Any One With The Same Problem . . .
This Code Below Work !
Just be sure to change the Google Installation Location according to your computer. And change the link to anything you want to use. Also don't forget to set the correct Google Profile profile name . . .
START "" "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" https://www.anycustomlink.com --profile-directory="Profile_name"
The Code Below Will Open YouTube With The Third Google Chrome Profile !
START "" "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" https://www.youtube.com --profile-directory="Profile 3"
Thanks A Lot Again @ArraffaFile
Is there a way to force Firefox to launch in a new process?
If you have a second profile (like 'sidekick'), the following will launch a new Firefox process:
firefox.exe -no-remote -p sidekick
However, if that profile is already used by a current Firefox session, that will not work.
To create a new profile launch Firefox from the command line with the -P flag and create it.
firefox.exe -P
The OP ykaganovich adds in the comments (in Oct. 2020, three years later):
recent versions of Firefox (as of 2020) also have profile management UI available at
about:profiles
Start Firefox from a batch file
This should do:
@echo off
start "" "C:\Program Files\Mozilla Firefox\firefox.exe"
echo Firefox have started.
...Do something else here...
pause
If you want to be a little fancier, echo to a cscript which will popup a windows, where you have to click Ok, before the batch file will continue to the next command.
@echo off
echo Set objArgs = WScript.Arguments > DisplayMsg.vbs
echo messageText = objArgs(0) >> DisplayMsg.vbs
echo MsgBox messageText >> DisplayMsg.vbs
start "" "C:\Program Files\Mozilla Firefox\firefox.exe"
timeout /t 3
cscript DisplayMsg.vbs "Firefox has Started successfully!"
...Do something else here...
pause
for more on the actual starting of firefox, do start /?
from commandline for help. You have however used @
before your commands, which actually turns echo off.
R Session on Linux - submit multiple batch jobs pointing to same session
I'm not sure what your end goal is, but have you considered something like the futures
package that will allow R to send work off to another thread to be completed? That way the work can be done but doesn't lock up the main R session while the work is being completed. This way, via the main R session, you could launch job1 and then while that was still being worked on, launch job2.
Related Topics
How The File Size Is Limited on a Specific File System
Curl Http Post File Upload Using Curl -Data in Linux Command Line
Set Cron Job for 1St Working Day of Every Month in Shell Scripting
Source Bashrc Doesn't Work in Cron
Do Here-Strings Undergo Word-Splitting
Execute Command as a String in Bash
Sshfs, Linux - How to Mount with Read-Only Access
Shell Script to Get List of Defined Users on Linux
How to Use 'History-C' Command in a Bash Script
Why Does The -R Option (Relocatable) Make Ld Not Find Any Libraries
How to Use Opengl Without a Window Manager in Linux
Arm-Linux-Gnueabi Compiler Options
Synchronize Shell Script Execution
How to Tell Linux to Keep a Page and Not Evict It
Echo - Syntax Error: Bad Substitution
How to Change Core Pattern Only for a Particular Application