Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix error on Clozure CL #7

Merged
merged 1 commit into from

2 participants

@ktateish

Hi,

The trivial-shell:shell-command didn't work on ccl.

? (trivial-shell:shell-command "ls")

Error: The value NIL is not of the expected type ARRAY.
While executing: CCL::ARRAY-DATA-AND-OFFSET, in process listener(1).
Type :POP to abort, :R for a list of available restarts.
Type :? for other options.
1 >

So I've fix it.
Would you consider pulling the branch fix-error-on-ccl on ktateish/trivial-shell .

@gwkkwg
Owner

Thanks. Looks good to me.

@gwkkwg gwkkwg merged commit 8ba1653 into gwkkwg:master
@ktateish

Thank you!

@ktateish ktateish deleted the unknown repository branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 8, 2013
  1. @ktateish

    Fix error on Clozure CL

    ktateish authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  dev/openmcl.lisp
View
2  dev/openmcl.lisp
@@ -13,7 +13,7 @@
(process-exit-code process))))
(defun create-shell-process (command wait &optional input)
- (with-input-from-string (input-stream input)
+ (with-input (input-stream (or input :none))
(ccl:run-program
*bourne-compatible-shell*
(list "-c" command)
Something went wrong with that request. Please try again.