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


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

MathKernel -script in MacOSX

From "quendor@nandor.net" <cdaniels@nandor.net>
Newsgroups comp.soft-sys.math.mathematica
Subject MathKernel -script in MacOSX
Date 2011-02-10 10:21 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <ij0e7t$9cg$1@smc.vnet.net> (permalink)

Show all headers | View raw


I am using Mathematica Home Edition 8.0 on Mac OSX.
I am attempting to use 'MathKernel -script file.m' to evaluate a script, 
but have been unsuccessful.

file.m is a text file containing: 2 + 2

'MathKernel -script file.m' fails to produce any output or a failure 
message.

I have tried this under the standard Terminal application as well as X11 
with the same result. On the other hand,

'cat file.m | MathKernel -noprompt ' outputs '4' as expected.

Moreover, 'MathKernel', with no options generates a Mathematica Shell as 
expected.

Not sure what I am missing.

Thanks,

Bryan


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


Thread

MathKernel -script in MacOSX "quendor@nandor.net" <cdaniels@nandor.net> - 2011-02-10 10:21 +0000

csiph-web