- Sep 02, 2016
-
-
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
-
- Aug 15, 2016
-
-
Robert Goldman authored
Needed for clean compile.
-
- Aug 11, 2016
-
-
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
-
- Nov 18, 2015
-
-
Francois-Rene Rideau authored
A few are kept, for backward-compatibility with systems in quicklisp.
-
- Oct 07, 2015
-
-
Francois-Rene Rideau authored
-
- Sep 29, 2015
-
-
Francois-Rene Rideau authored
-
- Sep 22, 2015
-
-
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
-
- Sep 14, 2015
-
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
Better support ext:run-program on ECL. Fix :directory on MKCL.
-
- Sep 08, 2015
-
-
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.
-
- Aug 13, 2015
-
-
Francois-Rene Rideau authored
-
- Aug 11, 2015
-
-
Francois-Rene Rideau authored
Thanks to Daniel Kochmański for his support.
-
- Jul 10, 2015
-
-
Francois-Rene Rideau authored
I had made a change assuming complement works on symbols, but it doesn't portably.
-
- Jul 07, 2015
-
-
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.
-
- Jul 02, 2015
-
-
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
-
- Jul 01, 2015
-
-
Francois-Rene Rideau authored
Add a missing space between redirection and command on Windows. Error due to a recent refactoring yet untested.
-
- Jun 30, 2015
-
-
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.
-
- Jun 29, 2015
-
-
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).
-
- Jun 08, 2015
-
-
Francois-Rene Rideau authored
-
- May 08, 2015
-
-
Francois-Rene Rideau authored
-
- May 07, 2015
-
-
Francois-Rene Rideau authored
The JVM doesn't give access to native chdir without some extensions that aren't available with ABCL. There's a user.dir system property whereby some Java programs kind of fake it, but ABCL doesn't play nice with it. Therefore, use *default-pathname-defaults* as our "current directory", and be sure to chdir to it before to run commands with run-program. Try to make the run-program chdir feature work on Windows.
-
- Apr 27, 2015
-
-
Francois-Rene Rideau authored
-
- Mar 29, 2015
-
-
On ABCL, os testing is at runtime. On all other implementations, it's at compile-time. SBCL can optimize some runtime tests and then complain about unreachable code. os-cond abstracts over OS conditionalization and makes everyone happy. Needed by an upcoming configuration change. Plus minor typographical fixes.
-
- Mar 12, 2015
-
-
Francois-Rene Rideau authored
Based on a contribution by Christian Shafmeister.
-