From 2713bc370b2abaf3f3de982da36b6191d45e0f9d Mon Sep 17 00:00:00 2001
From: "Robert P. Goldman" <rpgoldman@gmail.com>
Date: Sun, 8 Sep 2013 13:11:08 -0500
Subject: [PATCH] Use /usr/bin/env only on Unix systems.

---
 uiop/run-program.lisp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/uiop/run-program.lisp b/uiop/run-program.lisp
index 2986f447..3309d5bb 100644
--- a/uiop/run-program.lisp
+++ b/uiop/run-program.lisp
@@ -338,7 +338,10 @@ EXTERNAL-FORMAT for the stream passed to the OUTPUT processor."
                          #+lispworks
                          (if interactive
                              (system:call-system-showing-output
+                              #+os-unix
                               (cons "/usr/bin/env" command) ; lispworks wants a full path.
+                              #-os-unix
+                              command
                               :show-cmd nil
                               :wait wait)
                            (system:run-shell-command
-- 
GitLab