Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hugo Ishimaru
asdf
Commits
ed5e1a79
Commit
ed5e1a79
authored
22 years ago
by
Kevin Rosenberg
Browse files
Options
Downloads
Patches
Plain Diff
Add run-shell-command for Allegro and Lispworks
parent
13f31fe3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
asdf.lisp
+24
-1
24 additions, 1 deletion
asdf.lisp
with
24 additions
and
1 deletion
asdf.lisp
+
24
−
1
View file @
ed5e1a79
;;; This is asdf: Another System Definition Facility. $Revision: 1.3
0
$
;;; This is asdf: Another System Definition Facility. $Revision: 1.3
1
$
;;;
;;;
;;; The canonical source for asdf is presently the cCLan CVS repository,
;;; The canonical source for asdf is presently the cCLan CVS repository,
;;; at <URL:http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/cclan/asdf/>
;;; at <URL:http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/cclan/asdf/>
...
@@ -815,4 +815,27 @@ output to *trace-output*. Returns the shell's exit code."
...
@@ -815,4 +815,27 @@ output to *trace-output*. Returns the shell's exit code."
(
list
"-c"
command
)
(
list
"-c"
command
)
:input
nil
:output
*trace-output*
))))
:input
nil
:output
*trace-output*
))))
#+
allegro
(
defun
run-shell-command
(
control-string
&rest
args
)
"Interpolate ARGS into CONTROL-STRING as if by FORMAT, and
synchronously execute the result using a Bourne-compatible shell, with
output to *trace-output*. Returns the shell's exit code."
(
let
((
command
(
apply
#'
format
nil
control-string
args
)))
(
format
*trace-output*
"; $ ~A~%"
command
)
(
excl:run-shell-command
(
make-array
3
:initial-contents
(
list
"/bin/sh"
"-c"
command
))
:input
nil
:output
*trace-output*
)))
#+
lispworks
(
defun
run-shell-command
(
control-string
&rest
args
)
"Interpolate ARGS into CONTROL-STRING as if by FORMAT, and
synchronously execute the result using a Bourne-compatible shell, with
output to *trace-output*. Returns the shell's exit code."
(
let
((
command
(
apply
#'
format
nil
control-string
args
)))
(
format
*trace-output*
"; $ ~A~%"
command
)
(
system:call-system-showing-output
command
:shell-type
"/bin/sh"
:output-stream
*trace-output*
)))
(
pushnew
:asdf
*features*
)
(
pushnew
:asdf
*features*
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment