- 09 Oct, 2016 1 commit
-
-
Francois-Rene Rideau authored
This avoids a forward reference on sbcl/windows. Also add a comment on a use of symbol-call on ECL.
-
- 08 Oct, 2016 7 commits
-
-
Elias Pipping authored
-
Francois-Rene Rideau authored
DIRECTORY is important. It was never actually ignored, except on Allegro, on which the implementation itself handles the option. Make that explicit. The other arguments are always passed... though it's unclear whether they are heeded in all implementations, since we have :allow-other-keys t. That deserves investigation and a comment update, at some point. Also, tweak some comments.
-
Francois-Rene Rideau authored
Use explicit error checking instead.
-
Francois-Rene Rideau authored
Thanks to Elias Pipping for his help getting this commit right.
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
Make %run-program the alias of launch-program rather than the other way around. Rename %use-run-program to %use-launch-program. Update tests. NB: I wanted to move %run-program to backward-driver, but that won't help: since the function was never exported from uiop/run-program, it wasn't in uiop. Thanks to Elias Pipping for his help getting this commit right.
-
Elias Pipping authored
If we call it synchronously, we also need to call wait-process and close-streams. We ignore the error status because signalling a dead or non-existing process is not something that the user can avoid.
-
- 25 Sep, 2016 2 commits
-
-
Robert Goldman authored
The code for %POSIX-SEND-SIGNAL -- which isn't invoked on Windows anyway, was crashing on Windows build -- because of differences in function signatures on CCL Windows/other. Fixed this by simply making %POSIX-SEND-SIGNAL a stub on Windows. I couldn't remove it altogether, because deciding whether to invoke it is a decision made at run-time, not compile-time.
-
Elias Pipping authored
-
- 24 Sep, 2016 14 commits
-
-
Elias Pipping authored
Even though the LispWorks documentation says otherwise, at least on Unix, run-shell-command does not accept file streams or socket streams
-
Elias Pipping authored
-
Elias Pipping authored
-
Elias Pipping authored
-
Elias Pipping authored
ECL: terminate-process will not work with ECL 16.1.2 and earlier
-
Elias Pipping authored
-
Elias Pipping authored
Previously, a process that was killed through signal 15 could have an exit code of 15, 143, or even "sigterm"
-
Elias Pipping authored
Some of the new features added here will not work on ABCL 1.3.3 and earlier.
-
Elias Pipping authored
This will not work on MKCL 1.1.9 and earlier
-
Elias Pipping authored
-
Elias Pipping authored
-
Elias Pipping authored
-
Elias Pipping authored
- Move parameter error handling for CLISP: Catches cases where :error-output is set to :output before it is normalized: normalization would fail because there is no corresponding case in the ectypecase clause. - Check for combinations that would eventually lead to errors
-
Elias Pipping authored
-
- 09 Sep, 2016 2 commits
-
-
Elias Pipping authored
Whitespace changes were intentionally left out of the previous commit to keep it readable.
-
Elias Pipping authored
This allows the :setf of with-program-*put to complete so that in particular, any remaining output will be written
-
- 02 Sep, 2016 9 commits
-
-
Elias Pipping authored
The functions that can allegedly be called on clasp in analogy to ecl do not exist. Calling %run-program would yield a cryptic error prior to this change because `apply` is called with a list of arguments but no function.
-
Elias Pipping authored
The difference between :overwrite (the former default) and :supersede is only that the latter should not lead to an error if the file does not exist. There is plenty of support for :supersede behaviour (not necessarily under that name) but not for :overwrite behaviour. Hence we make it the default and add a normaliser. Since normalisation is currently only necessary for CLISP and CLISP only has :if-output-exists support (not :if-error-output-exists or :if-input-does-not-exist), we only translate :if-output-exists for now.
-
Elias Pipping authored
On platforms where %wait-process-result is not supported, an error is supposed to be raised. Since the error is only raised when the process-info field 'process' is non-nil, on CLISP (where 'process' is always NIL), the function instead behaves like a dummy.
-
Elias Pipping authored
-
Elias Pipping authored
Have wait-process-result save the exit-code in process-info since we cannot retrieve it again later.
-
Elias Pipping authored
By having :process always be a stream on LispWorks 7, we make sure that the process can be killed, have its vital signs checked, and its PID obtained. In a simple and consistent manner. With LispWorks 7, pid-exit-status is no longer available. We need a stream to obtain the exit status. With save-exit-status, we can be sure that we're given one.
-
Elias Pipping authored
Allows for type checking and in-place changes via setf
-
Elias Pipping authored
SBCL's run-program does not currently have an :if-output-does-not-exist keyword (as of 1.3.8). It seems it never did, either, as suggested by the following (superfluous?) feature request https://bugs.launchpad.net/sbcl/+bug/789817 The same applies to :if-error-does-not-exist
-
Francois-Rene Rideau authored
-
- 15 Aug, 2016 1 commit
-
-
Robert Goldman authored
Needed for clean compile.
-
- 11 Aug, 2016 4 commits
-
-
Elias Pipping authored
If a process is killed by a signal, sys:reap-os-subprocess will return (0, pid, signal) so that checking the exit code alone does not suffice.
-
Elias Pipping authored
The code for Clasp, Clozure CL, and ECL is there, only the list of implementations in #-(...) was not up-to-date.
-
Elias Pipping authored
Use the public function ccl:external-process-id instead the private ccl::external-process-pid external-process-id has been exported from the ccl packages since at least 2008.
-
Elias Pipping authored
:wait t and :*put :stream cannot be mixed on some platforms but not others.
-