Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: command line options: -initfile vs -run

  • To: mathgroup at
  • Subject: [mg92516] Re: command line options: -initfile vs -run
  • From: dreeves <dreeves at>
  • Date: Thu, 2 Oct 2008 04:36:51 -0400 (EDT)
  • References: <gbt2u5$lgk$>

I'm finding that the -initfile approach has problems if foo.m contains
code that tries to read other files.  I don't understand what's going
on yet though.  For now I'm just sticking with -run.
If anyone can shed light on this, I'd appreciate it.  I'm thinking it
may point toward a subtle mathematica bug.

> Is there any difference at all between
>     -run "<<foo.m"
> and
>     -initfile "foo.m"
> ?
> Thanks!
> (For those curious, I ask because of this:
> )

  • Prev by Date: Re: Variable question
  • Next by Date: Re: Variable question
  • Previous by thread: Re: Real and Complex Roots presented in a single plot
  • Next by thread: how to get rid extra parentheses ?