You could write a wrapper script as follows, put it in /usr/local/bin/my-browser:
— #!/usr/bin/env bash google-chrome --user-data-dir /tmp/ $@ — The $@ at the end will expand to the remaining arguments which Jupyter will pass to the browser. Make sure to run chmod +x /usr/local/bin/my-browser to make the script executable. then pass --browser=my-browser to Jupyter. On Tue, Dec 1, 2020 at 16:45 Abraham Zamudio <[email protected]> wrote: > Hello everyone, > > I have the need to execute jupyter on some directories, which I plan to do > with different executions of chrome (--user-data-dir), please have any idea > how to execute something like: > > jupyter notebook --browser = 'google-chrome --user-data-dir = / tmp /' > > thank you > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/d278b80a-f9e6-49b9-827f-35209b5424e5n%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/d278b80a-f9e6-49b9-827f-35209b5424e5n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAHVGp0ESYYU3U_B91wUWpmujX3FfWrqm1ixUC9tiofTHz8c%3D0w%40mail.gmail.com.
