Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
inferior-shell
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
qitab
inferior-shell
Commits
702d644b
Commit
702d644b
authored
12 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
Pass keys transparently from run to run-program.
parent
6f9fca42
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run.lisp
+4
-7
4 additions, 7 deletions
run.lisp
with
4 additions
and
7 deletions
run.lisp
+
4
−
7
View file @
702d644b
...
...
@@ -16,7 +16,9 @@
(
and
(
typep
spec
'command-spec
)
(
null
(
command-redirections
spec
))))
(
defun
run-spec
(
spec
&key
ignore-error-status
output
)
(
defun
run-spec
(
spec
&rest
keys
&key
ignore-error-status
output
element-type
external-format
&allow-other-keys
)
(
declare
(
ignore
ignore-error-status
output
element-type
external-format
))
(
let*
((
command
(
if
(
consp
spec
)
(
parse-process-spec
spec
)
...
...
@@ -29,12 +31,7 @@
(
print-process-spec
spec
))
(
string
spec
))))
(
case
output
((
t
)
(
run-program
command
:ignore-error-status
ignore-error-status
))
(
otherwise
(
run-program
command
:ignore-error-status
ignore-error-status
:output
output
)))))
(
apply
'run-program
command
:output
(
case
output
((
t
)
nil
)
(
otherwise
output
))
keys
)))
(
defun
run-process-spec
(
spec
&rest
keys
&key
ignore-error-status
output
host
backend
)
(
etypecase
host
...
...
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