Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Carl Shapiro
cmucl
Commits
6f1fb7fe
Commit
6f1fb7fe
authored
31 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Changed run-program to only try to run executables, and to flame out if
it can't be found in path:.
parent
3c76182d
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
code/run-program.lisp
+4
-2
4 additions, 2 deletions
code/run-program.lisp
with
4 additions
and
2 deletions
code/run-program.lisp
+
4
−
2
View file @
6f1fb7fe
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/run-program.lisp,v 1.1
3
199
3
/0
8
/04 1
1:51
:4
3
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/run-program.lisp,v 1.1
4
199
4
/0
2
/04 1
5:10
:4
6
wlott Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -467,8 +467,10 @@
;; info. Also, establish proc at this level so we can return it.
(
let
(
*close-on-error*
*close-in-parent*
*handlers-installed*
proc
)
(
unwind-protect
(
let
((
pfile
(
unix-namestring
(
merge-pathnames
program
"path:"
)))
(
let
((
pfile
(
unix-namestring
(
merge-pathnames
program
"path:"
)
t
t
))
(
cookie
(
list
0
)))
(
unless
pfile
(
error
"No such program: ~S"
program
))
(
multiple-value-bind
(
stdin
input-stream
)
(
get-descriptor-for
input
cookie
:direction
:input
...
...
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