UsingFrontEnd[expr]
evaluates expr, making use of a front end if necessary.


UsingFrontEnd
UsingFrontEnd[expr]
evaluates expr, making use of a front end if necessary.
Details

- UsingFrontEnd is primarily relevant for standalone kernels and other configurations where a front end cannot be assumed to be running.
- UsingFrontEnd[expr] enables notebook functions such as NotebookWrite during the evaluation of expr.
- UsingFrontEnd[expr] evaluates expr in the current Wolfram Language kernel, starting a front end if it is not already running.
- UsingFrontEnd temporarily sets $Notebooks and $FrontEnd.
See Also
History
Text
Wolfram Research (2008), UsingFrontEnd, Wolfram Language function, https://reference.wolfram.com/language/ref/UsingFrontEnd.html.
CMS
Wolfram Language. 2008. "UsingFrontEnd." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/UsingFrontEnd.html.
APA
Wolfram Language. (2008). UsingFrontEnd. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UsingFrontEnd.html
BibTeX
@misc{reference.wolfram_2025_usingfrontend, author="Wolfram Research", title="{UsingFrontEnd}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/UsingFrontEnd.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_usingfrontend, organization={Wolfram Research}, title={UsingFrontEnd}, year={2008}, url={https://reference.wolfram.com/language/ref/UsingFrontEnd.html}, note=[Accessed: 08-August-2025]}