Thread: run-endrun does not work (v101.4 on Mac)

Started: 2011-07-13 00:37:57
Last activity: 2011-07-13 03:03:26
Topics: SAC Help
David Yang
2011-07-13 00:37:57
The "executing other programs from SAC macros" using "run-endrun" does not
work for my copy of the SAC, which is version 101.4 on a Mac. I have a macro
test.m with the following lines

$run ls
$endrun

and I tried to run it with command

SAC> macro test.m

It gave me a "Segmentation fault" error.

Does anyone know why this happens? Thanks!

David

Correspondence/TSPA




  • Arthur Snoke
    2011-07-13 03:03:26
    This will be fixed in 101.5, which is coming out soon.

    As an interim, you can use sc and/or scripts. For your example, it just
    work either to just entr ls or sc ls.

    On Tue, 12 Jul 2011, Xiaoning (David) Yang wrote:

    The "executing other programs from SAC macros" using "run-endrun" does not
    work for my copy of the SAC, which is version 101.4 on a Mac. I have a macro
    test.m with the following lines

    $run ls
    $endrun

    and I tried to run it with command

    SAC> macro test.m

    It gave me a "Segmentation fault" error.

    Does anyone know why this happens? Thanks!

    David

    Correspondence/TSPA




21:47:12 v.b4412d20