Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline environment variable: ValueError: identifier field can't represent #5313

Open
anki-code opened this issue Mar 25, 2024 · 1 comment
Open

Comments

@anki-code
Copy link
Member

anki-code commented Mar 25, 2024

$QWE=False echo 1
Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.11/site-packages/xonsh/ptk_shell/shell.py", line 389, in _push
    code = self.execer.compile(
           ^^^^^^^^^^^^^^^^^^^^
ValueError: identifier field can't represent 'False' constant

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

@jnoortheen
Copy link
Member

jnoortheen commented Apr 11, 2024

Workaround: env VAR=val cmd will work across shells

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants