From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Roy Lemmon Newsgroups: gmane.emacs.help Subject: Cannot run executable from eshell Date: Thu, 19 Mar 2020 14:18:31 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="81606"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 19 15:19:15 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jEw0w-000L2s-Ih for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Mar 2020 15:19:14 +0100 Original-Received: from localhost ([::1]:38622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEw0v-0002KS-Kg for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Mar 2020 10:19:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46627) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEw0T-00025k-UK for help-gnu-emacs@gnu.org; Thu, 19 Mar 2020 10:18:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEw0S-0007YS-Qw for help-gnu-emacs@gnu.org; Thu, 19 Mar 2020 10:18:45 -0400 Original-Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]:46100) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEw0S-0007Y0-Ee for help-gnu-emacs@gnu.org; Thu, 19 Mar 2020 10:18:44 -0400 Original-Received: by mail-io1-xd2f.google.com with SMTP id v3so2356273iom.13 for ; Thu, 19 Mar 2020 07:18:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=roylemmon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=dPpBY9aGzh06879SFnVZWUmAnY33UUUExv5fcCFeEZA=; b=ioMP/gTNr/zRV0HR8zd2peh/Jww2qckOYl9cFRfXA6sMc1KXC+H3RGo2LcYK3NC1lv uRAfEGoXxzxO1j91yXbYYYvWCcN2TYitevca0XczORhNK+tk1PH8FkSUa70ml1NLXBuU sXQKuKNt2pt3kfu1PLV6b9RShfsUi8wkLAchL655D3NqCDOekVKPziuVHVi5X0xAMQo+ LmvUGLTunq+7uZqwM6SDzaoNwgDpZVe4etCj0bhP0laDz2t1bv5+fjWOLicFEP3QrAyO p72aFA69kwQJcDsHpQaMz3O9aHxL5VYBInDPc+PHiUvuOP2fNbaAlY5WCMpQKTxOc9ZB lBFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dPpBY9aGzh06879SFnVZWUmAnY33UUUExv5fcCFeEZA=; b=bh1lTZjD7IaKwZEN89ELZmcGnp81yNckHq58iwIx9emGT1GK54uzEvxheZGGVDLwF2 H520UOEeDPc7J4ywU8yyKRpxWLTWyDxauavM/TDHz3UrMmMIDtIUyqGiZYoJctxeaB87 dzr3FemNCQwLYq8Jx9E8oGyE+lp7FcmMsyaqngCaclzqBQKKmoQgq45zZRvhk5ODXR4q +oI9Riut6z223aLKuc+wlMsfJhGfBEk5OaBn7mLFuZ+DakqfrN5aTSm1FoewVUBKACkn bGKZurWDHRiQtsUhfAMLSaVeEn0KZOelyZJnfV4Iq0mcGHyWuW9libCZu+nsznLUFR74 tBhw== X-Gm-Message-State: ANhLgQ0ltzYLeTv9zU3DdKJbvECl0z61mK6pFDJd+M5kcXrezY/XNB+S DpBGQOR8yFX7RJ1nDqF3ls5xbEDJXeNwudapMWXp8s9n X-Google-Smtp-Source: ADFU+vtIzAXNmrslOISFQHiXttXiDOehAY72MB1ypwATsoSU2J3m/gkIKm1YT9BL6jshRpu3GyFR9Eg3O9NJz03HNW0= X-Received: by 2002:a6b:f118:: with SMTP id e24mr2952587iog.54.1584627522802; Thu, 19 Mar 2020 07:18:42 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d2f X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122611 Archived-At: Hi, I have an executable (guix) in a directory under my home directory. I am using eshell. I add that directory to PATH. But when I run the command, the executable is not found. I have tried various methods such as addpath etc. But eshell doesnt seem to search in that directory and find the executable. If I give the full directory on the command line, it works. See below: $ /home/rlemmon/.guix-profile/bin/guix works correctly $ guix does not work $ echo $PATH $ /home/rlemmon/.guix-profile/bin:/home/rlemmon/bin:/ ... $ addpath /home/rlemmon/.guix-profile/bin/ /home/rlemmon/bin/ ... All of this is done within eshell. I am confused as to what the problem might be. Is there a standard way to set the directories where eshell looks for executables ? Note that I am using EXWM (under nixOS) and starting the eshell via a command defined in my init file. Though the same situation exists if I start it via M-x eshell. Thanks Roy.