Re: [Macaulay2] Run m2 code as script

428 views
Skip to first unread message

Daniel R. Grayson

unread,
May 20, 2013, 2:31:45 PM5/20/13
to maca...@googlegroups.com
That is a fine way to do, since M2 takes care to notice that its input
is not a tty and to echo the characters to the output.

On Mon, May 20, 2013 at 1:52 PM, Brian Callander
<brianca...@gmail.com> wrote:
> I would like to be able to execute some m2 code as a file from the terminal
> and have it write its output to a file. The best way I have so far is:
>
> nohup M2 < input >& output &
>
> where 'input' is the file with the code I want to run and 'output' is the
> file to which all output is written. Can anybody tell me if there is a
> better way to do this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Macaulay2" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to macaulay2+...@googlegroups.com.
> To post to this group, send email to maca...@googlegroups.com.
> Visit this group at http://groups.google.com/group/macaulay2?hl=en-US.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
Reply all
Reply to author
Forward
0 new messages