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
b3622011
Commit
b3622011
authored
8 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
Add clasp support to launch-program
parent
8e33c55c
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
uiop/launch-program.lisp
+2
-1
2 additions, 1 deletion
uiop/launch-program.lisp
with
2 additions
and
1 deletion
uiop/launch-program.lisp
+
2
−
1
View file @
b3622011
...
@@ -392,13 +392,14 @@ to ignore if URGENT is T. On some platforms, it may also be subject to
...
@@ -392,13 +392,14 @@ to ignore if URGENT is T. On some platforms, it may also be subject to
race conditions."
race conditions."
(
declare
(
ignorable
urgent
))
(
declare
(
ignorable
urgent
))
#+
abcl
(
sys:process-kill
(
slot-value
process-info
'process
))
#+
abcl
(
sys:process-kill
(
slot-value
process-info
'process
))
#+
clasp
(
mp:process-kill
(
slot-value
process-info
'process
))
;; On ECL, this will only work on versions later than 2016-09-06,
;; On ECL, this will only work on versions later than 2016-09-06,
;; but we still want to compile on earlier versions, so we use symbol-call
;; but we still want to compile on earlier versions, so we use symbol-call
#+
ecl
(
symbol-call
:ext
:terminate-process
(
slot-value
process-info
'process
)
urgent
)
#+
ecl
(
symbol-call
:ext
:terminate-process
(
slot-value
process-info
'process
)
urgent
)
#+
lispworks7+
(
sys:pipe-kill-process
(
slot-value
process-info
'process
))
#+
lispworks7+
(
sys:pipe-kill-process
(
slot-value
process-info
'process
))
#+
mkcl
(
mk-ext:terminate-process
(
slot-value
process-info
'process
)
#+
mkcl
(
mk-ext:terminate-process
(
slot-value
process-info
'process
)
:force
urgent
)
:force
urgent
)
#-
(
or
abcl
ecl
lispworks7+
mkcl
)
#-
(
or
abcl
clasp
ecl
lispworks7+
mkcl
)
(
os-cond
(
os-cond
((
os-unix-p
)
(
%posix-send-signal
process-info
(
if
urgent
9
15
)))
((
os-unix-p
)
(
%posix-send-signal
process-info
(
if
urgent
9
15
)))
((
os-windows-p
)
(
if-let
(
pid
(
process-info-pid
process-info
))
((
os-windows-p
)
(
if-let
(
pid
(
process-info-pid
process-info
))
...
...
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