I am trying to start new notebook from a command line mode with command UsingFrontEnd@CreateDocument[] The notebook is created but it stays in minimized mode at the taskbar. How to start notebook properly from a command line so I can interact with it?


I am using Ubuntu 15.04 and I am starting the mathematica kernel in gnome-terminal with command math.

  • $\begingroup$ The question is not clear. What OS are you running? When you say command line, what application is actually prompting and processing your commands? A terminal emulator? A Mathematica kernel? $\endgroup$ – m_goldberg Dec 31 '15 at 22:14

Using a package file


$FrontEndLaunchCommand = FileNameJoin[{$InstallationDirectory, "Mathematica.exe"}];

from a command line (Windows)

cd \Program Files\Wolfram Research\Mathematica\10.4
start MathKernel -noicon -initfile C:\myPath\open.m

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.