help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: octave scripts don't go to background


From: viveks
Subject: Re: octave scripts don't go to background
Date: Wed, 19 Jul 2000 22:29:01 +0530 (IST)

On Wed, 19 Jul 2000, Gerd B?rger asked: What's wrong?

I am not sure. Perhaps, it's the way Unix is supposed to work with jobs
submitted to background on the command line itself. All it means is that
the output to an interactive terminal is suspended.

We have site license for matlab here, and interestingly, even during
interactive sessions, time-taking commands like "fsolve" automatically go
to background with "suspended (tty output)"  message and come back once
the processing is done!

It is more proper to submit non-interactive octave scripts as batch jobs
(using at, batch or even cron utilities.)

"at" emails the standard output, if any.

Vivek...

Gerd B?rger wrote:

> If I send octave to the background from an interactive shell, it
> works. But using the script, e.g.,
> ------------ def.m ----------
> #! /usr/bin/octave
> quit
> ------------ def.m ----------
> 
> prompt> def.m &
> 
> doesn't work. octave says
> What's wrong?



-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]