Skip to content

Is it possible to get information of the surrounding shell? #453

Answered by phil-scott-78
nils-a asked this question in Q&A
Discussion options

You must be logged in to vote

Typically a shell is going to set the SHELL environmental variable.

I gotta ask what your intentions are here. Anything besides just logging or displaying the value I'd recommend using the capabilities class which tries to abstract out what each console is capable of.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nils-a
Comment options

nils-a Jun 16, 2021
Maintainer Author

@phil-scott-78
Comment options

@nils-a
Comment options

nils-a Jun 16, 2021
Maintainer Author

Answer selected by nils-a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants