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
e1f6378d
Commit
e1f6378d
authored
8 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
Use exec when running simple commands.
parent
ab38970d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
inferior-shell.asd
+3
-3
3 additions, 3 deletions
inferior-shell.asd
run.lisp
+2
-0
2 additions, 0 deletions
run.lisp
with
5 additions
and
3 deletions
inferior-shell.asd
+
3
−
3
View file @
e1f6378d
...
@@ -2,12 +2,12 @@
...
@@ -2,12 +2,12 @@
#-
asdf3
(
error
"inferior-shell requires ASDF 3.0.3 or later"
)
#-
asdf3
(
error
"inferior-shell requires ASDF 3.0.3 or later"
)
(
defsystem
"inferior-shell"
(
defsystem
"inferior-shell"
:version
"2.0.
3.
4"
:version
"2.0.4"
:description
"spawn local or remote processes and shell pipes"
:description
"spawn local or remote processes and shell pipes"
:author
"Francois-Rene Rideau"
:author
"Francois-Rene Rideau"
:license
"MIT"
:license
"MIT"
:depends-on
((
:version
"asdf"
"3.0.3"
)
; input and error-output redirection
:depends-on
((
:version
"asdf"
"3.0.3"
)
; input and error-output redirection
#+
sbcl
(
:require
"sb-posix"
)
(
:feature
:
sbcl
(
:require
"sb-posix"
)
)
"alexandria"
"optima"
"alexandria"
"optima"
"fare-utils"
"fare-quasiquote-extras"
"fare-mop"
)
"fare-utils"
"fare-quasiquote-extras"
"fare-mop"
)
:around-compile
"uiop:call-with-safe-io-syntax"
;; ensures that quasiquote syntax doesn't escape
:around-compile
"uiop:call-with-safe-io-syntax"
;; ensures that quasiquote syntax doesn't escape
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
(
:file
"utilities"
:depends-on
(
"pkgdcl"
))
(
:file
"utilities"
:depends-on
(
"pkgdcl"
))
(
:file
"macros"
:depends-on
(
"pkgdcl"
))
(
:file
"macros"
:depends-on
(
"pkgdcl"
))
(
:file
"host"
:depends-on
(
"pkgdcl"
))
(
:file
"host"
:depends-on
(
"pkgdcl"
))
(
:file
"run"
:depends-on
(
"process-spec"
"macros"
))
(
:file
"run"
:depends-on
(
"process-spec"
"macros"
))
)
:in-order-to
((
test-op
(
load-op
"inferior-shell/test"
)))
:in-order-to
((
test-op
(
load-op
"inferior-shell/test"
)))
:perform
(
test-op
(
o
s
)
;; symbol-call will only work if loaded with ASDF3
:perform
(
test-op
(
o
s
)
;; symbol-call will only work if loaded with ASDF3
(
symbol-call
:inferior-shell-test
:test-suite
)))
(
symbol-call
:inferior-shell-test
:test-suite
)))
...
...
This diff is collapsed.
Click to expand it.
run.lisp
+
2
−
0
View file @
e1f6378d
...
@@ -21,6 +21,8 @@
...
@@ -21,6 +21,8 @@
(
etypecase
command
(
etypecase
command
(
direct-command-spec
(
direct-command-spec
(
command-arguments
spec
))
(
command-arguments
spec
))
(
command-spec
(
strcat
"exec "
(
print-process-spec
spec
)))
(
process-spec
(
process-spec
(
print-process-spec
spec
))
(
print-process-spec
spec
))
(
string
(
string
...
...
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