Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asdf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
15
Issues
15
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
asdf
asdf
Commits
4dd361f7
Commit
4dd361f7
authored
Sep 16, 2013
by
Francois-Rene Rideau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another run-program tweak for Windows (untested!), plus test tweak.
parent
182c5bd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
test/test-run-program.script
test/test-run-program.script
+1
-1
uiop/run-program.lisp
uiop/run-program.lisp
+1
-1
No files found.
test/test-run-program.script
View file @
4dd361f7
...
...
@@ -19,7 +19,7 @@
(unless (< 0 (run-shell-command "./bad-shell-command"))
(error "Failed to capture exit status indicating shell command failure."))
#+
asdf
-unix
#+
os
-unix
(progn
(DBG "Testing good shell command in current directory via run-shell-command")
(unless (equal 0 (run-shell-command "./good-shell-command"))
...
...
uiop/run-program.lisp
View file @
4dd361f7
...
...
@@ -414,7 +414,7 @@ EXTERNAL-FORMAT for the stream passed to the OUTPUT processor."
process
))))))
(
system-command
(
command
)
(
etypecase
command
(
string
(
if
(
os-windows-p
)
(
format
nil
"cmd /c ~A"
command
)
command
)
)
(
string
command
)
(
list
(
escape-shell-command
(
if
(
os-unix-p
)
(
cons
"exec"
command
)
command
)))))
(
redirected-system-command
(
command
out
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment