Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14857

problem with running mathematica with & sign from command line

From tle <truongvle@yahoo.com>
Newsgroups comp.soft-sys.math.mathematica
Subject problem with running mathematica with & sign from command line
Date 2013-06-14 08:52 +0000
Message-ID <kpelkn$hsn$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


Hi All,

I am trying to run a notebook that I have created from command line with & sign at the end, and ran into a problem with mathematica quitting the program immediately. I am running mathematica on my Mac.

I have no problem when running from the command line with the following statement without the "&" sign:

/Applications/Mathematica.app/Contents/MacOS/MathKernel -noprompt -initfile test.m 

where "test.m" is a script that contains the notebook that I have created.

However, mathematica is automatically stop executing when I run from the command line with the following statement with the "&" sign. I basically want mathematica to run in the background, hence, the "&" sign is at the end. I don't quite understand why mathematica stop executing when the "&" sign is there. Could anyone please explain? Many thanks!

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

problem with running mathematica with & sign from command line tle <truongvle@yahoo.com> - 2013-06-14 08:52 +0000

csiph-web