gives the list of currently active external evaluator sessions.
gives the list of sessions associated with the system sys.
- ExternalSessions returns an ExternalSessionObject for each active session.
- DeleteObject kills an external session.
- In ExternalSessions[sys], possible choices of sys include:
Examplesopen allclose all
Basic Examples (3)
Start a session and see it listed with ExternalSessions:
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:
Start some sessions and delete all of them with DeleteObject and ExternalSessions:
DeleteObject works with a list of more than one ExternalSessionObject:
Sessions are automatically removed from ExternalSessions once they are deleted:
Wolfram Research (2017), ExternalSessions, Wolfram Language function, https://reference.wolfram.com/language/ref/ExternalSessions.html (updated 2020).
Wolfram Language. 2017. "ExternalSessions." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/ExternalSessions.html.
Wolfram Language. (2017). ExternalSessions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ExternalSessions.html