scsh-users
[Top] [All Lists]

Re: with-env, executable not found in path

To: scsh-news@zurich.ai.mit.edu
Subject: Re: with-env, executable not found in path
From: Markus Holmberg <markush78@yahoo.se>
Date: Tue, 07 May 2002 09:09:13 +0200
Organization: News UmU SE
david@vanhorn.com (David Van Horn) writes:

> I am trying to do something along the lines of...
>
> (with-env (("PATH" . "/usr/local/bin"))
>   (run (cvs update -d)))
>
> in a script that is executed daily using cron. But I get the following
> error...
>
> Error: No executable found.
>        cvs
>        (update -d)
>
> I know that /usr/local/bin/cvs* exists. Further, this script works as
> expected when I am interacting with scsh.
>
> Am I missing something?
>
> Thanks,
> David Van Horn

See section 3.11.2 of the manual. Search path is taken from
"exec-path-list".

Markus

<Prev in Thread] Current Thread [Next in Thread>