question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat: `export FOO=bar` should modify the shell process's env

See original GitHub issue

this doesn’t work - should it?

> export MSG=hello
> echo $MSG

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
starpitcommented, Jan 14, 2019

also, we should consider if we can support this in browser mode; that might be kinda neat.

0reactions
starpitcommented, May 5, 2019

yes thanks for catching that. we should eliminate all such collisions in favor of their bash interpretation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If processes inherit the parent's environment, why do we need ...
export : Tells the shell to put a name in the environment. Export and assignment are two entirely different operations. env : As...
Read more >
Can I export a variable to the environment from a Bash script ...
Is there any way to access to the $VAR by just executing export.bash without sourcing it ? Quick answer: No. But there are...
Read more >
Nushell 0.68
If you call source-env on that module, the export-env command will get evaluated and its environment kept in the current scope. This release...
Read more >
Wine User's Guide - WineHQ Wiki
The process of installing and running Wine can be summarized as follows: ... shell environment variable settings to the Windows environment variable space....
Read more >
Advanced Bash-Scripting Guide
Updating or adding new environmental variables causes the shell to ... A script can export variables only to child processes, that is, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found