Mercurial > hg > octave-terminal
changeset 7104:b26d0cd10a42
[project @ 2007-11-06 17:18:41 by jwe]
author | jwe |
---|---|
date | Tue, 06 Nov 2007 17:18:41 +0000 |
parents | 1ed1a94735a6 |
children | a53649dc07b6 |
files | src/ChangeLog src/toplev.cc |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2007-11-06 Michael Goffioul <michael.goffioul@gmail.com> + + * toplev.cc (Fsystem) [__WIN32__ && ! __CYGWIN__]: + Quote the complete command. + 2007-11-06 John W. Eaton <jwe@octave.org> * data.cc (Fnorm): New tests.
--- a/src/toplev.cc +++ b/src/toplev.cc @@ -531,6 +531,12 @@ if (! error_state) { +#if defined (__WIN32__) && ! defined (__CYGWIN__) + // Work around weird double-quote handling on Windows systems. + if (type == et_sync) + cmd_str = "\"" + cmd_str + "\""; +#endif + if (type == et_async) { // FIXME -- maybe this should go in sysdep.cc?