ViewVC logotype

Log of /src/code/run-program.lisp

Parent Directory Parent Directory | Revision Log Revision Log

Links to HEAD: (view) (annotate)
Links to snapshot-2011-09: (view) (annotate)
Sticky Tag:

Revision 1.32 - (view) (annotate) - [select for diffs]
Mon Sep 20 13:50:52 2010 UTC (3 years, 7 months ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, HEAD, cross-sol-x86-2010-12-20, cross-sol-x86-base, cross-sol-x86-merged, cross-sparc-branch-base, snapshot-2010-11, snapshot-2010-12, snapshot-2011-01, snapshot-2011-02, snapshot-2011-03, snapshot-2011-04, snapshot-2011-06, snapshot-2011-07, snapshot-2011-09
Branch point for: cross-sol-x86-branch, cross-sparc-branch
Changes since 1.31: +24 -12 lines
Diff to previous 1.31
Add support for external formats for RUN-PROGRAM, which now takes an
:EXTERNAL-FORMAT keyword argument to specify the format to use for any
streams that RUN-PROGRAM needs to create.

Patch from Paul Foley.

Revision 1.31 - (view) (annotate) - [select for diffs]
Tue Apr 20 17:57:45 2010 UTC (4 years ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_20b, release-20b-pre1, release-20b-pre2, snapshot-2010-05, snapshot-2010-06, snapshot-2010-07, snapshot-2010-08, sparc-tramp-assem-2010-07-19, sparc-tramp-assem-base
Branch point for: RELEASE-20B-BRANCH, sparc-tramp-assem-branch
Changes since 1.30: +17 -17 lines
Diff to previous 1.30
Change uses of _"foo" to (intl:gettext "foo").  This is because slime
may get confused with source locations if the reader macros are

Revision 1.30 - (view) (annotate) - [select for diffs]
Mon Apr 19 02:18:04 2010 UTC (4 years ago) by rtoy
Branch: MAIN
Changes since 1.29: +12 -12 lines
Diff to previous 1.29
Remove _N"" reader macro from docstrings when possible.

Revision 1.29 - (view) (annotate) - [select for diffs]
Fri Mar 19 15:18:59 2010 UTC (4 years, 1 month ago) by rtoy
Branch: MAIN
CVS Tags: post-merge-intl-branch, snapshot-2010-04
Changes since 1.28: +31 -30 lines
Diff to previous 1.28
Merge intl-branch 2010-03-18 to HEAD.  To build, you need to use
boot-2010-02-1 as the bootstrap file.  You should probably also use
the new -P option for build.sh to generate and update the po files
while building.

Revision 1.28 - (view) (annotate) - [select for diffs]
Thu Jun 11 16:03:59 2009 UTC (4 years, 10 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_20a, amd64-dd-start, intl-2-branch-base, intl-branch-base, merged-unicode-utf16-extfmt-2009-06-11, portable-clx-base, portable-clx-import-2009-06-16, pre-merge-intl-branch, release-20a-base, release-20a-pre1, snapshot-2009-07, snapshot-2009-08, snapshot-2009-11, snapshot-2009-12, snapshot-2010-01, snapshot-2010-02, snapshot-2010-03, unicode-string-buffer-base, unicode-string-buffer-impl-base
Branch point for: RELEASE-20A-BRANCH, amd64-dd-branch, intl-2-branch, intl-branch, portable-clx-branch, unicode-string-buffer-branch, unicode-string-buffer-impl-branch
Changes since 1.27: +16 -1 lines
Diff to previous 1.27
Merge Unicode work to trunk.  From label

Revision 1.27 - (view) (annotate) - [select for diffs]
Wed Sep 24 09:42:25 2008 UTC (5 years, 6 months ago) by cshapiro
Branch: MAIN
CVS Tags: RELEASE_19f, label-2009-03-16, label-2009-03-25, merge-sse2-packed, merge-with-19f, release-19f-base, release-19f-pre1, snapshot-2008-10, snapshot-2008-11, snapshot-2008-12, snapshot-2009-01, snapshot-2009-02, snapshot-2009-04, snapshot-2009-05, sse2-base, sse2-checkpoint-2008-10-01, sse2-merge-with-2008-10, sse2-merge-with-2008-11, sse2-packed-2008-11-12, sse2-packed-base
Branch point for: RELEASE-19F-BRANCH, sse2-branch, sse2-packed-branch
Changes since 1.26: +20 -31 lines
Diff to previous 1.26
Use openpty to obtain a pseudo-terminal pair instead of searching for
an available devices on our own.  This resolves an issue with Linux
systems that do not populate /dev with BSD pseudo-terminal devices.

Revision 1.26 - (view) (annotate) - [select for diffs]
Tue Feb 25 17:22:06 2003 UTC (11 years, 1 month ago) by emarsden
Branch: MAIN
CVS Tags: amd64-merge-start, cold-pcl-base, double-double-array-base, double-double-array-checkpoint, double-double-base, double-double-init-%make-sparc, double-double-init-checkpoint-1, double-double-init-ppc, double-double-init-sparc, double-double-init-sparc-2, double-double-init-x86, double-double-irrat-end, double-double-irrat-start, double-double-reader-base, double-double-reader-checkpoint-1, double-double-sparc-checkpoint-1, dynamic-extent-base, lisp-executable-base, mod-arith-base, ppc_gencgc_snap_2005-05-14, ppc_gencgc_snap_2005-12-17, ppc_gencgc_snap_2006-01-06, pre-telent-clx, prm-before-macosx-merge-tag, release-18e, release-18e-base, release-18e-pre1, release-18e-pre2, release-19a, release-19a-base, release-19a-pre1, release-19a-pre2, release-19a-pre3, release-19b-base, release-19b-pre1, release-19b-pre2, release-19c, release-19c-base, release-19c-pre1, release-19d, release-19d-base, release-19d-pre1, release-19d-pre2, release-19e, release-19e-base, release-19e-pre1, release-19e-pre2, remove_negative_zero_not_zero, snapshot-2003-10, snapshot-2003-11, snapshot-2003-12, snapshot-2004-04, snapshot-2004-05, snapshot-2004-06, snapshot-2004-07, snapshot-2004-08, snapshot-2004-09, snapshot-2004-10, snapshot-2004-11, snapshot-2004-12, snapshot-2005-01, snapshot-2005-02, snapshot-2005-03, snapshot-2005-04, snapshot-2005-05, snapshot-2005-06, snapshot-2005-07, snapshot-2005-08, snapshot-2005-09, snapshot-2005-10, snapshot-2005-11, snapshot-2005-12, snapshot-2006-01, snapshot-2006-02, snapshot-2006-03, snapshot-2006-04, snapshot-2006-05, snapshot-2006-06, snapshot-2006-07, snapshot-2006-08, snapshot-2006-09, snapshot-2006-10, snapshot-2006-11, snapshot-2006-12, snapshot-2007-01, snapshot-2007-02, snapshot-2007-03, snapshot-2007-04, snapshot-2007-05, snapshot-2007-06, snapshot-2007-07, snapshot-2007-08, snapshot-2007-09, snapshot-2007-10, snapshot-2007-11, snapshot-2007-12, snapshot-2008-01, snapshot-2008-02, snapshot-2008-03, snapshot-2008-04, snapshot-2008-05, snapshot-2008-06, snapshot-2008-07, snapshot-2008-08, snapshot-2008-09, sparc_gencgc, sparc_gencgc_merge, unicode-utf16-base
Branch point for: cold-pcl, double-double-array-branch, double-double-branch, double-double-reader-branch, dynamic-extent, lisp-executable, mod-arith-branch, ppc_gencgc_branch, release-18e-branch, release-19a-branch, release-19b-branch, release-19c-branch, release-19d-branch, release-19e-branch, sparc_gencgc_branch, unicode-utf16-branch
Changes since 1.25: +8 -6 lines
Diff to previous 1.25
Fix a bug in RUN-PROGRAM's handling of the :append argument to
:if-output-exists and :if-error-exists. The two forms below currently signal
errors if the file /tmp/inexist does not exist, due to the defaulting value
of the :if-exists argument to OPEN. With this change, the output/error file
is created if it does not already exist.

  (ext:run-program "ls" '("/tmp") :output "/tmp/inexist" :if-output-exists :append)

  (ext:run-program "ls" '("/zob") :error "/tmp/inexist" :if-error-exists :append)

Revision 1.25 - (view) (annotate) - [select for diffs]
Tue Apr 10 13:44:12 2001 UTC (13 years ago) by pw
Branch: MAIN
Branch point for: UNICODE-BRANCH
Changes since 1.24: +5 -1 lines
Diff to previous 1.24
Add arg type declaration to other public process functions.

Revision 1.24 - (view) (annotate) - [select for diffs]
Tue Apr 10 12:46:37 2001 UTC (13 years ago) by pw
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23
Add a declaration to process-kill to avoid sigfault with :small cores
when a bad argument is passed.

Revision 1.23 - (view) (annotate) - [select for diffs]
Tue Jun 16 06:58:57 1998 UTC (15 years, 10 months ago) by dtc
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22
Linux port update from Peter VanEynde: revision of the glibc2 support,
better hemlock tty mode support.

Revision 1.22 - (view) (annotate) - [select for diffs]
Thu Mar 13 22:19:02 1997 UTC (17 years, 1 month ago) by pw
Branch: MAIN
Branch point for: RELENG_18
Changes since 1.21: +10 -10 lines
Diff to previous 1.21
Add :abort t to some CLOSE calls in process-close

Revision 1.21 - (view) (annotate) - [select for diffs]
Sat Feb 8 15:20:26 1997 UTC (17 years, 2 months ago) by pw
Branch: MAIN
Changes since 1.20: +3 -2 lines
Diff to previous 1.20
Move misplaced hpux conditional that caused undefined symbol warning on non-hpux boxes.

Revision 1.20 - (view) (annotate) - [select for diffs]
Thu Jul 25 20:38:57 1996 UTC (17 years, 9 months ago) by ram
Branch: MAIN
Changes since 1.19: +4 -5 lines
Diff to previous 1.19
Fix process-kill some more.

Revision 1.19 - (view) (annotate) - [select for diffs]
Thu Jul 25 14:58:45 1996 UTC (17 years, 9 months ago) by ram
Branch: MAIN
Changes since 1.18: +23 -9 lines
Diff to previous 1.18
Fixed process-kill to work on PTYs under HPUx by using TIOCSIGSEND

Revision 1.18 - (view) (annotate) - [select for diffs]
Mon Oct 31 04:11:27 1994 UTC (19 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.17: +1 -3 lines
Diff to previous 1.17
Fix headed boilerplate.

Revision 1.17 - (view) (annotate) - [select for diffs]
Thu Oct 20 15:27:07 1994 UTC (19 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16
#+irix => #+svr4

Revision 1.16 - (view) (annotate) - [select for diffs]
Tue Jul 5 15:52:45 1994 UTC (19 years, 9 months ago) by hallgren
Branch: MAIN
Changes since 1.15: +38 -4 lines
Diff to previous 1.15
Updated for the sgi.

Revision 1.15 - (view) (annotate) - [select for diffs]
Wed Apr 6 17:05:39 1994 UTC (20 years ago) by hallgren
Branch: MAIN
Changes since 1.14: +5 -5 lines
Diff to previous 1.14
Updated for the Alpha.

Revision 1.14 - (view) (annotate) - [select for diffs]
Fri Feb 4 15:10:46 1994 UTC (20 years, 2 months ago) by wlott
Branch: MAIN
Branch point for: solaris_patch
Changes since 1.13: +4 -2 lines
Diff to previous 1.13
Changed run-program to only try to run executables, and to flame out if
it can't be found in path:.

Revision 1.13 - (view) (annotate) - [select for diffs]
Wed Aug 4 11:51:43 1993 UTC (20 years, 8 months ago) by wlott
Branch: MAIN
Changes since 1.12: +93 -81 lines
Diff to previous 1.12
Moved the fork/exec stuff into C, for ease in porting.

Revision 1.12 - (view) (annotate) - [select for diffs]
Tue Jul 28 00:22:58 1992 UTC (21 years, 9 months ago) by wlott
Branch: MAIN
Changes since 1.11: +7 -6 lines
Diff to previous 1.11
UNIX-FORK returns NIL, not -1, when it fails.

Revision 1.11 - (view) (annotate) - [select for diffs]
Tue Feb 18 02:20:01 1992 UTC (22 years, 2 months ago) by wlott
Branch: MAIN
Branch point for: fast_select, miles
Changes since 1.10: +10 -9 lines
Diff to previous 1.10
Fixed uses of UNIX-DUP and UNIX-IOCTL to conform to the new semantics.

Revision 1.10 - (view) (annotate) - [select for diffs]
Mon Feb 17 03:11:36 1992 UTC (22 years, 2 months ago) by wlott
Branch: MAIN
Changes since 1.9: +26 -23 lines
Diff to previous 1.9
Fixed COPY-DESCRIPTOR-TO-STREAM to no longer try to read directly into a
string, but instead stage through the a stack alien.  This way, we can
handle GCing if the read is interrupted.

Revision 1.9 - (view) (annotate) - [select for diffs]
Sat Feb 15 12:50:37 1992 UTC (22 years, 2 months ago) by wlott
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
Added ``unix:'' in front of unix-signal-number.

Revision 1.8 - (view) (annotate) - [select for diffs]
Fri Feb 14 23:45:25 1992 UTC (22 years, 2 months ago) by wlott
Branch: MAIN
Changes since 1.7: +85 -95 lines
Diff to previous 1.7
Merged new-alien changes onto trunk.

Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Sep 27 10:24:58 1991 UTC (22 years, 7 months ago) by wlott
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
Don't set XTABS on the pty so that tabs will be passed through to Hemlock
as is.

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Sep 25 15:13:47 1991 UTC (22 years, 7 months ago) by wlott
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5
Instead of closing the descriptors ourself before doing the exec, set the
close-on-exec bit.  This allows mach:unix-execve to do it's consing under
SunOS where the segv handler needs to use the fds.

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Jun 17 20:31:44 1991 UTC (22 years, 10 months ago) by wlott
Branch: MAIN
Changes since 1.4: +5 -1 lines
Diff to previous 1.4
Fixed COPY-DESCRIPTOR-TO-STREAM to set a flag when it closes the descriptor
and to check this flag before it selects.  This way, if we recursively
enter the handler (due to write-string calling something that calls
serve-event), then we won't blow out when we unwind.

Revision 1.4 - (view) (annotate) - [select for diffs]
Mon Jun 17 17:35:28 1991 UTC (22 years, 10 months ago) by wlott
Branch: MAIN
Changes since 1.3: +50 -33 lines
Diff to previous 1.3
Merged old system changes.  Added noise to SETUP-CHILD to try execing
/bin/sh if the original exec didn't work because of a bad magic number.

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Feb 8 13:35:16 1991 UTC (23 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.2: +8 -4 lines
Diff to previous 1.2
New file header with RCS header FILE-COMMENT.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Aug 24 18:13:15 1990 UTC (23 years, 8 months ago) by wlott
Branch: MAIN
Changes since 1.1: +29 -32 lines
Diff to previous 1.1
Moved MIPS branch onto trunk; no merge necessary.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Feb 22 10:40:31 1990 UTC (24 years, 2 months ago) by ram
Branch: MAIN
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5