Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

Re: waiting command

  • To: mathgroup at smc.vnet.net
  • Subject: [mg40276] Re: waiting command
  • From: Antti Penttilä <Antti.I.Penttila at helsinki.fi>
  • Date: Sat, 29 Mar 2003 05:19:22 -0500 (EST)
  • Organization: University of Helsinki
  • References: <b5uono$lkb$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Roberto Brambilla wrote:
> Hi,
> 
> I'd like to use Mathematica to run an extermal program,
> let me say EMFIELD.EXE with some parameters p1 , p2 :
> 
> Run["EMFIELD.EXE -p1 -p2"]
> 
> Since EMFIELD may take seconds or hours to generate the results,
> depending on the complexity of the problem and the values of parameters,
> how can I tell Mathematica to wait until the Results.txt file is
> created or updated?

To my knowledge, the Run command will always wait until the program has 
executed. So you don't need to wait, the result file should be ready 
when the Run exits.


-- 
    Antti Penttilä



  • Prev by Date: Re: 4.2.1 and Fonts
  • Next by Date: Map Projection with Mathematica
  • Previous by thread: Re: waiting command
  • Next by thread: Questions concerning printing,editing, and copy/paste