[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exec : typo in documents and erroneously terminates on native window
From: |
Mike Miller |
Subject: |
Re: exec : typo in documents and erroneously terminates on native windows |
Date: |
Tue, 3 May 2016 09:33:00 -0700 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Tue, May 03, 2016 at 14:30:19 +0900, Tatsuro MATSUOKA wrote:
> Hello
>
> I have execute exec on native windows (4.0.2) and Cygwin (4.0.1)
>
> In the documents(help and manual)
>
> *******************************
> FILE. For example,
>
> exec ("ls" "-l")
>
> will run 'ls' and return you to your shell prompt.
> *******************************
> exec ("ls" "-l")
> should be
> exec ("ls", "-l")
> (missing comma)
Good catch. Looks like it has been this way for years and no one has
noticed.
Does anyone use exec?
> BTW, octave termination of octave by exec ("ls", "-l") is an expected
> behavior.
> However, octave erroneously terminates on octave 4.0.2 (32 and 64 bit)
> I attached message from Windows. (Sorry it is written in Japanese.)
>
> Translation
> Octave-cli is terminated.
> Problems occurred and program does not work correctly.
> Program is terminated by windows system.
> If there is a solution, it is reported from windows system.
> (Button [Terminate program])
Could be. A better test might be to use exec in a fork, except that fork
is not yet implemented for Windows. So exec is kind of pointless on
Windows as it is.
--
mike