GNU bug report logs - #32801
[macOS] (shell-command-to-string command) discrepancy in GUI vs terminal

Previous Next

Package: emacs;

Reported by: Jayesh Bhat <jayeshbhat55 <at> gmail.com>

Date: Sat, 22 Sep 2018 01:22:02 UTC

Severity: normal

Tags: notabug

Found in version 26.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 32801-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Alan Third <alan <at> idiocy.org>
Cc: 32801-done <at> debbugs.gnu.org, Jayesh Bhat <jayeshbhat55 <at> gmail.com>
Subject: Re: bug#32801: 26.1; (shell-command-to-string command) discrepancy in
 GUI vs terminal
Date: Tue, 4 Aug 2020 09:06:39 -0700
Alan Third <alan <at> idiocy.org> writes:

> On Sat, Sep 22, 2018 at 02:53:25AM +0200, Jayesh Bhat wrote:
>> 3a. Open emacs from Terminal
>>
>> # open -n /Applications/Emacs.app --args -q
>>
>> M-x ielm
>>
>> *** Welcome to IELM ***  Type (describe-mode) for help.
>> ELISP> (shell-command-to-string "pwd")
>> " ]7;file://JayeshMacBook.local/Users/jayesh /Users/jayesh\n"
>
> Mine doesn’t do that. Are you using some sort of iCloud sync thing?
> What do you get if you just type pwd in the terminal?
>
> It’s worth noting that the environment is different when you run an
> app from the terminal versus when you run it from the GUI. All sorts
> of things are different.

More information was requested, but none was given within 27 weeks, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.

Best regards,
Stefan Kangas




This bug report was last modified 4 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.