[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: check interactive / batch?
From: |
Martin Helm |
Subject: |
Re: check interactive / batch? |
Date: |
Mon, 9 Aug 2010 23:35:11 +0200 |
User-agent: |
KMail/1.12.4 (Linux/2.6.31.12-0.2-desktop; KDE/4.3.5; x86_64; ; ) |
Am Montag, 9. August 2010 23:26:22 schrieb Muhali:
> Martin Helm wrote:
> > How can it be equal except you name your script "octave"?
>
> sorry, I had checked using `--eval "program_invocation_name"', with no
> difference in names. Thanks for your help.
>
> M.
>
If you also want to catch the border case with --eval maybe you can in
addition check with argv () the commandline options used, but I guess this
will quickly get tedious.
- mh