This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Add-ons & Links / MathLink / Mathematica Functions /

LinkLaunch

FilledSmallSquare LinkLaunch["prog"] starts the external program prog and opens a MathLink connection to it.

FilledSmallSquare LinkLaunch["prog"] runs prog as a subsidiary or child process to your current Mathematica session.

FilledSmallSquare You can use a command such as LinkLaunch["math -mathlink"] to launch a subsidiary Mathematica kernel process from within your Mathematica session.

FilledSmallSquare On most computer systems calling LinkLaunch["prog"] multiple times with the same argument will start several prog processes running.

FilledSmallSquare On some computer systems, LinkLaunch[ ] will bring up a program browser.

FilledSmallSquare LinkLaunch returns a LinkObject.

FilledSmallSquare The option LinkProtocol specifies the underlying data transport protocol to use.

FilledSmallSquare LinkLaunch internally calls a function analogous to the MLOpenArgv() function in the MathLink library.

FilledSmallSquare See Section 2.13.7.

FilledSmallSquare See also: Install, LinkCreate, LinkConnect, LinkClose.

FilledSmallSquare New in Version 3.

Further Examples