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


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

problem with running mathematica with & sign from command line

Started bytle <truongvle@yahoo.com>
First post2013-06-14 08:52 +0000
Last post2013-06-14 08:52 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

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

#14857 — problem with running mathematica with & sign from command line

Fromtle <truongvle@yahoo.com>
Date2013-06-14 08:52 +0000
Subjectproblem with running mathematica with & sign from command line
Message-ID<kpelkn$hsn$1@smc.vnet.net>
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!

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web