Function Repository Resource:

NewWLSession

Source Notebook

Start a new Wolfram Language session

Contributed by: Bob Sandheinrich and Richard Hennigan

ResourceFunction["NewWLSession"][]

starts a new session of the the Wolfram Language environment.

Details and Options

The new session has its own kernel and front end.
ResourceFunction["NewWLSession"] works in Wolfram Language desktop products such as Wolfram Desktop and Mathematica.
When successful, ResourceFunction["NewWLSession"] returns a ProcessObject.
Usually, opening a running application on macOS will reopen the existing application instead of creating a new instance of it. ResourceFunction["NewWLSession"] creates a second instance instead. This is similar to the behavior of Windows.

Examples

Basic Examples (1) 

Open a new session:

In[1]:=
ResourceFunction["NewWLSession"][]
Out[1]=

Version History

  • 1.0.0 – 17 February 2020

Related Resources

License Information