Skip to content

Is it intended that using poetry shell in fish does not automatically source the virtual environment? #7870

Closed Answered by NiklasKappel
NiklasKappel asked this question in Q&A
Discussion options

You must be logged in to vote

This seems to be a problem with the sendline method provided by pexpect. Minimal example to reproduce:

import pexpect

child = pexpect.spawn("fish")  # replace with "bash" to see different behavior
child.sendline("echo hello")
child.interact()
child.close()

I will open in issue there.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by NiklasKappel
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant