exec-path, which may be different from the default path.
;;; -*-Scheme-*-
;;;
-;;; $Id: diros2.scm,v 1.3 1999/01/02 06:11:34 cph Exp $
+;;; $Id: diros2.scm,v 1.4 1999/02/01 03:47:30 cph Exp $
;;;
;;; Copyright (c) 1992-1999 Massachusetts Institute of Technology
;;;
(lambda (argument)
(let ((n
(dired-change-files "compress" argument
- (let ((gzip (os/find-program "gzip" #f))
+ (let ((gzip (os/find-program "gzip" #f (ref-variable exec-path)))
(directory (buffer-default-directory (current-buffer))))
(lambda (pathname lstart)
(let ((type (pathname-type pathname))
;;; -*-Scheme-*-
;;;
-;;; $Id: dirunx.scm,v 1.11 1999/01/02 06:11:34 cph Exp $
+;;; $Id: dirunx.scm,v 1.12 1999/02/01 03:47:22 cph Exp $
;;;
;;; Copyright (c) 1992-1999 Massachusetts Institute of Technology
;;;
(define (dired-change-inode program)
(lambda (attribute argument)
(dired-change-files (string-append "change" attribute "of") argument
- (let ((program (os/find-program program #f))
+ (let ((program (os/find-program program #f (ref-variable exec-path)))
(directory (buffer-default-directory (current-buffer))))
(lambda (pathname lstart)
(run-synchronous-process #f #f directory #f
(lambda (argument)
(let ((n
(dired-change-files "compress" argument
- (let ((gzip (os/find-program "gzip" #f))
+ (let ((gzip (os/find-program "gzip" #f (ref-variable exec-path)))
(directory (buffer-default-directory (current-buffer))))
(lambda (pathname lstart)
(let ((type (pathname-type pathname))
;;; -*-Scheme-*-
;;;
-;;; $Id: dirw32.scm,v 1.3 1999/01/02 06:11:34 cph Exp $
+;;; $Id: dirw32.scm,v 1.4 1999/02/01 03:47:13 cph Exp $
;;;
;;; Copyright (c) 1996, 1999 Massachusetts Institute of Technology
;;;
(lambda (argument)
(let ((n
(dired-change-files "compress" argument
- (let ((gzip (os/find-program "gzip" #f))
+ (let ((gzip (os/find-program "gzip" #f (ref-variable exec-path)))
(directory (buffer-default-directory (current-buffer))))
(lambda (pathname lstart)
(let ((type (pathname-type pathname))
;;; -*-Scheme-*-
;;;
-;;; $Id: os2.scm,v 1.44 1999/02/01 03:34:09 cph Exp $
+;;; $Id: os2.scm,v 1.45 1999/02/01 03:47:55 cph Exp $
;;;
;;; Copyright (c) 1994-1999 Massachusetts Institute of Technology
;;;
system-mailboxes)
(define (os/rmail-pop-procedure)
- (and (dos/find-program "popclient" (ref-variable exec-path) #f)
+ (and (os/find-program "popclient" #f (ref-variable exec-path))
(lambda (server user-name password directory)
(os2-pop-client server user-name password directory))))
;;; -*-Scheme-*-
;;;
-;;; $Id: rmail.scm,v 1.60 1999/01/28 03:59:59 cph Exp $
+;;; $Id: rmail.scm,v 1.61 1999/02/01 03:47:02 cph Exp $
;;;
;;; Copyright (c) 1991-1999 Massachusetts Institute of Technology
;;;
(let ((error-buffer (temporary-buffer " movemail errors")))
(let ((start (buffer-start error-buffer))
(end (buffer-end error-buffer)))
- (run-synchronous-process false start false false
- (os/find-program "movemail"
- (edwin-etc-directory))
- (->namestring source)
- (->namestring target))
+ (run-synchronous-process
+ false start false false
+ (os/find-program "movemail"
+ (edwin-etc-directory)
+ (ref-variable exec-path))
+ (->namestring source)
+ (->namestring target))
(if (mark< start end)
(error
(let ((m
;;; -*-Scheme-*-
;;;
-;;; $Id: sendmail.scm,v 1.43 1999/01/02 06:11:34 cph Exp $
+;;; $Id: sendmail.scm,v 1.44 1999/02/01 03:46:56 cph Exp $
;;;
;;; Copyright (c) 1991-1999 Massachusetts Institute of Technology
;;;
;; user as soon as possible.
(let ((process
(start-pipe-subprocess
- (os/find-program program #f)
+ (os/find-program program #f (ref-variable exec-path))
(vector (file-namestring program) "-oi" "-t"
(string-append "-f" (current-user-name))
;; These mean "report errors by mail" and
;;; -*-Scheme-*-
;;;
-;;; $Id: unix.scm,v 1.92 1999/02/01 03:31:01 cph Exp $
+;;; $Id: unix.scm,v 1.93 1999/02/01 03:46:43 cph Exp $
;;;
;;; Copyright (c) 1989-1999 Massachusetts Institute of Technology
;;;
(file-namestring file)))
(apply run-synchronous-process
#f mark directory #f
- (os/find-program program #f)
+ (os/find-program program #f (ref-variable exec-path))
(append
(split-unix-switch-string switches)
(list
boolean?)
(define (os/rmail-pop-procedure)
- (and (unix/find-program "popclient" (ref-variable exec-path) #f)
+ (and (os/find-program "popclient" #f (ref-variable exec-path))
(lambda (server user-name password directory)
(unix/pop-client server user-name password directory))))
;;; -*-Scheme-*-
;;;
-;;; $Id: vc.scm,v 1.30 1999/01/02 06:11:34 cph Exp $
+;;; $Id: vc.scm,v 1.31 1999/02/01 03:46:35 cph Exp $
;;;
;;; Copyright (c) 1994-1999 Massachusetts Institute of Technology
;;;
#f
#f
(os/find-program command
- (buffer-default-directory command-buffer))
+ (buffer-default-directory command-buffer)
+ (ref-variable exec-path))
(vc-command-arguments arguments))))
(if (and (eq? 'EXITED (car result))
(<= 0 (cdr result) status-limit))