- 24 Sep, 2016 3 commits
-
-
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 8 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.
-
Elias Pipping authored
-
Elias Pipping authored
The system package (si for short) is internal and "never to be used" according to https://common-lisp.net/project/ecl/manual/ch11.html This change does not require testing because (presumably unintentionally) the process-info-pid function generates an error for ECL anyway (to be fixed in a follow-up commit)
-
Elias Pipping authored
Prior to this, %run-command would generate errors such as File #P"/dev/null" already exists.: File exists [errno=17]. Tested with acl-10.0-linux-x86.
-
Elias Pipping authored
-
- 18 Nov, 2015 1 commit
-
-
Francois-Rene Rideau authored
A few are kept, for backward-compatibility with systems in quicklisp.
-
- 07 Oct, 2015 1 commit
-
-
Francois-Rene Rideau authored
-
- 29 Sep, 2015 1 commit
-
-
Francois-Rene Rideau authored
-
- 22 Sep, 2015 2 commits
-
-
Francois-Rene Rideau authored
A previous run-program patch declared variable interactive even on implementations where it is unused. The master branch failed to catch it. The minimakefile branch correctly found it.
-
Francois-Rene Rideau authored
Undo some ugly workaround from 3d8764fc now that ECL fixed bug 149: https://gitlab.com/embeddable-common-lisp/ecl/issues/149
-
- 14 Sep, 2015 2 commits
-
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
Better support ext:run-program on ECL. Fix :directory on MKCL.
-
- 08 Sep, 2015 1 commit
-
-
Francois-Rene Rideau authored
There was a UIOP bug (fixed), but there is also still an ECL bug, so don't try to use ext:run-program, and stick with ext:system. This means that run-program was broken on ECL in ASDF 3.1.5, but not in ASDF 3.1.4 and earlier.
-
- 13 Aug, 2015 1 commit
-
-
Francois-Rene Rideau authored
-
- 11 Aug, 2015 1 commit
-
-
Francois-Rene Rideau authored
Thanks to Daniel Kochmański for his support.
-
- 10 Jul, 2015 1 commit
-
-
Francois-Rene Rideau authored
I had made a change assuming complement works on symbols, but it doesn't portably.
-
- 07 Jul, 2015 1 commit
-
-
Francois-Rene Rideau authored
We had an overly short blacklist of characters, that failed to include & or | and who knows what other CMD.EXE punctuation. So use a whitelist instead.
-
- 02 Jul, 2015 2 commits
-
-
Francois-Rene Rideau authored
Punt on making rename-file-overwriting-target atomic. Punt on trying to run cmd with anything that SBCL would escape.
-
Robert Goldman authored
-
- 01 Jul, 2015 1 commit
-
-
Francois-Rene Rideau authored
Add a missing space between redirection and command on Windows. Error due to a recent refactoring yet untested.
-
- 30 Jun, 2015 1 commit
-
-
Francois-Rene Rideau authored
When a process with a long command fails, it was far too indented to the right. Remedy that at the price of making it somewhat uglier when the command is short.
-
- 29 Jun, 2015 1 commit
-
-
Robert Goldman authored
Fix for launchpad bug 1469550. Fix %NORMALIZE-SYSTEM-COMMAND for ACL + Windows, by explicitly forcing use of "CMD /c". Force RUN-PROGRAM to runs shell on string command argument, per its docstring (unless explicitly overridden by the caller).
-