% @(#)run.hlq 17.1.1.1 (ESO-IPG) 01/25/02 17:43:55 %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1990 European Southern Observatory %.IDENT run.hlq %.AUTHOR KB, IPG/ESO %.KEYWORDS MIDAS, help files, RUN/ %.PURPOSE On-line help file for the command: RUN/ %.VERSION 1.0 28-APR-1983 : Creation, KB %.VERSION 1.1 04-OCT-1991 : Update, KB %---------------------------------------------------------------- \noqualifier \se SECTION./ \es\co RUN 04-OCT-1991 KB \oc\su RUN progr execute a program inside the MIDAS\ environment \us\pu Purpose: Execute a program inside MIDAS and pass over current keywords. \up\sy Syntax: RUN progr \ys\pa progr = complete file specification of executable program, if not in current directory; \\ if no file type given, ``.exe'' is appended; \\ Warning: if no program name is given, MIDAS tries to execute a module with name ?.exe ... \ap\sa See also: @@, MIDAS Environment document \as\no Note: It is assumed, that the program has been written with the FORTRAN or C interfaces from the MIDAS Environment. \\ With this command you assure correct keyword communication between the program and the monitor. \\ Beware, in VMS the command $RUN also executes a module: \\ Using $RUN instead of RUN in MIDAS will execute the module, but the keywords will contain garbage. \\ For Unix the program name (without path specification!) will be converted to lowercase. \on\exs Examples: \ex RUN tecate Execute module tecate.exe . \xe\ex RUN bohemia.cerv Execute module bohemia.cerv . \xe\ex RUN ESO$DISK:[ESO]dosequis Execute module ESO$DISK:[ESO]dosequis.exe on a VMS machine. \xe\ex RUN /esodisk/eso/cartablanca Execute module /esodisk/eso/cartablanca.exe on a Unix machine. \xe \sxe