Not getting environment variable #638
Unanswered
bajrangCoder
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I access the environment variable of running pty? For eg I can get environment variable of system using :
process.env.PWD
I know I can run
echo $PWD
in pty then it will return but I want to get it programmatically like this:term.process.env.PWD
and How can I add event on any process complete?
For eg: if I run
pacman -Syu
then I want to show popup or alert on the completions of processCurrently my node-pty is initiated like this:
Beta Was this translation helpful? Give feedback.
All reactions