ExternalSessions

ExternalSessions[]

gives the list of currently active external evaluator sessions.

ExternalSessions[sys]

gives the list of sessions associated with the system sys.

Details

Examples

open allclose all

Basic Examples  (3)

Start a session and see it listed with ExternalSessions:

Delete the session object:

Now the session is not present in ExternalSessions:

Start sessions and list them independently by specifying the system:

ExternalSessions[sys] only shows sessions for that system:

Delete the session objects:

Start some sessions and delete all of them with DeleteObject and ExternalSessions:

DeleteObject works with a list of more than one ExternalSessionObject:

Scope  (1)

Sessions are automatically removed from ExternalSessions once they are deleted:

Neat Examples  (1)

Start sessions to list all their properties:

Make a dataset of the various properties of all the sessions:

Introduced in 2017
 (11.2)