bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19350: #19350 24.4; Incorrect quoting of %-signs for Windows command


From: Noam Postavsky
Subject: bug#19350: #19350 24.4; Incorrect quoting of %-signs for Windows command shell
Date: Wed, 17 Aug 2016 22:21:04 -0400

On Wed, Aug 17, 2016 at 10:02 PM, Demi Obenour <demiobenour@gmail.com> wrote:
> But *nix has no such feature, nor the associated gotcha.

By "feature" you mean having variables whose name ends in a caret (or
other escape character)? It's true that existing *nix shells don't,
but the OS does support them (and so hypothetical shells could do as
well):

(let ((process-environment (cons "ca^=with-caret" process-environment)))
  (shell-command-to-string "python -c 'import
os;print(os.environ[\"ca^\"])'")) ;=> "with-caret\n"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]