Mercurial > hg > octave-lyh
diff src/toplev.cc @ 4086:ddc722b38e87
[project @ 2002-10-03 19:08:45 by jwe]
author | jwe |
---|---|
date | Thu, 03 Oct 2002 19:08:45 +0000 |
parents | babc519f245b |
children | cbac6756967e |
line wrap: on
line diff
--- a/src/toplev.cc +++ b/src/toplev.cc @@ -497,6 +497,7 @@ if (type == async) { +#ifdef HAVE_FORK pid_t pid = fork (); if (pid < 0) @@ -512,6 +513,9 @@ } else retval(0) = static_cast<double> (pid); +#else + error ("asynchronous system calls are not supported"); +#endif } else if (return_output) retval = run_command_and_return_output (cmd_str);